CVE-2024-22236
Spring Cloud Contract vulnerable to local information disclosure
Reported by vmware · Published January 31, 2024
spring-cloud-contract-shade is fixed in 4.1.1, 4.1.0, 4.0.5 and 1 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-contract-shade | Maven Central | 4.1.1, 4.1.0, 4.0.5, 3.1.10 |
| Spring Cloud Contract | Spring | 4.1.1, 4.0.6, 3.1.10 |
| spring_cloud_contract | vmware | 4.0.5, 3.1.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Cloud Contract | 4.1.0, 4.0.0, 3.1.0 |
| Spring | Spring Cloud Contract | 4.1.0, 4.0.0, 3.1.0 |
| Maven | org.springframework.cloud:spring-cloud-contract-shade | 4.1.0, 4.1.0, 4.0.0 |
Timeline
- Jan 30, 2024 CVE Published
- Feb 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Jun 4, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-22236
vulnetix vdb fixes CVE-2024-22236
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-22236/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart