CVE-2024-38820 is a low-severity (CVSS 3.1) CWE-178 vulnerability in org.springframework:spring-context. A fix is available for org.springframework:spring-context — see the affected versions and patch details below.
CVE-2024-38820: Spring Framework DataBinder Case Sensitive Match Exception
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-38820.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework:spring-context☕org.springframework:spring-web☕org.springframework:spring-web☕org.springframework:spring-context☕org.springframework:spring-context☕org.springframework:spring-webReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive. However, String.toLowerCase() has some Locale dependent exceptions that could potentially result in fields not protected as expected.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework:spring-context | ≥ 6.1.0&&< 6.1.14 | 6.1.14org.springframework:spring-context:6.1.14 |
| ☕Maven | org.springframework:spring-web | ≥ 6.1.0&&< 6.1.14 | 6.1.14org.springframework:spring-web:6.1.14 |
| ☕Maven | org.springframework:spring-web | ≥ 6.0.0 | No fix |
| ☕Maven | org.springframework:spring-context | ≥ 6.0.0 | No fix |
| ☕Maven | org.springframework:spring-context | all versions | No fix |
| ☕Maven | org.springframework:spring-web | all versions | No fix |
Affected Products
spring frameworkvmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework:spring-context, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework:spring-context to 6.1.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-38820 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2024-38820 in your dependencies?
Find it across Maven, including transitive dependencies.