CVE-2024-22236: spring spring cloud contract
Vulnerability summary
CVE-2024-22236 is a medium (CVSS 5.5) vulnerability in spring spring cloud contract. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities.
Timeline
- 31-01-2024PublishedVulnerability first disclosed.
- 03-06-2025Last modifiedVulnerability information updated.
Description
In Spring Cloud Contract, versions 4.1.x prior to 4.1.1, versions 4.0.x prior to 4.0.5, and versions 3.1.x prior to 3.1.10, test execution is vulnerable to local information disclosure via temporary directory created with unsafe permissions through the shaded com.google.guava:guava dependency in the org.springframework.cloud:spring-cloud-contract-shade dependency.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · MavenEcosystem advisory · calculated3.3LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-732Incorrect Permission Assignment for Critical ResourceThe product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
- CWE-377Insecure Temporary FileCreating and using insecure temporary files can leave application and system data vulnerable to attack.
Affected systems
Org.springframework.cloud1 product
- spring-cloud-contract-shade≥ 4.1.0, < 4.1.1 | ≥ 4.0.0, < 4.0.5 | ≥ 3.1.0, < 3.1.10
Spring1 product
- spring cloud contract≥ 4.1.0, < 4.1.1 | ≥ 4.0.0, < 4.0.6 | ≥ 3.1.0, < 3.1.10
Vmware1 product
- spring_cloud_contract≥ 3.1.0, < 3.1.10 | ≥ 4.0.0, < 4.0.5 | 4.1.0
3 vendors · 3 products