CVE-2024-22236: Spring Cloud Contract vulnerable to local information disclosure
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.
Published Jan 31, 2024 · Updated Jun 4, 2025
Affected packages
org.springframework.cloud:spring-cloud-contract-shade
- Ecosystem
- Maven
- Affected
- = 4.1.0
- Fixed in
- 4.1.1
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-contract-shade
org.springframework.cloud:spring-cloud-contract-shade
- Ecosystem
- Maven
- Affected
- >= 4.0.0, < 4.0.5
- Fixed in
- 4.0.5
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-contract-shade
org.springframework.cloud:spring-cloud-contract-shade
- Ecosystem
- Maven
- Affected
- >= 3.1.0, < 3.1.10
- Fixed in
- 3.1.10
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-contract-shade
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
