CVE-2024-22236: Spring Cloud Contract · Vulnerability
Affects Spring Cloud ContractSource CVE Database V5
Not known to be exploited · CVSS 3.3 Low.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.springframework.cloud/spring-cloud-contract-shadepkg:maven/org.springframework.cloud/spring-cloud-contract-shadeOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-22236, European organizations should: 1) Upgrade Spring Cloud Contract to the fixed versions 4.1.1, 4.0.5, or 3.1.10 or later, where the issue with temporary directory permissions has been addressed. 2) Review and harden permissions on temporary directories used during test execution to ensure they are not accessible by unauthorized users. This includes configuring the underlying operating system and build environments to enforce strict access controls. 3) Isolate development and testing environments from production and restrict local user access to these environments, especially in shared or CI/CD systems. 4) Audit and monitor file system permissions and access logs for unusual access patterns to temporary directories used by Spring Cloud Contract. 5) Educate development and DevOps teams about secure handling of test artifacts and the importance of patching dependencies promptly. 6) Consider containerizing test environments with minimal privileges and ephemeral storage to reduce the risk of local information disclosure. These steps go beyond generic patching advice by emphasizing environment hardening, access control, and operational security best practices tailored to the vulnerability context.
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.