CVE-2024-38820: Spring Framework DataBinder Case Sensitive Match Exception
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.
Published Oct 18, 2024 · Updated May 29, 2025
Affected packages
org.springframework:spring-context
- Ecosystem
- Maven
- Affected
- >= 6.1.0, < 6.1.14
- Fixed in
- 6.1.14
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-context
org.springframework:spring-web
- Ecosystem
- Maven
- Affected
- >= 6.1.0, < 6.1.14
- Fixed in
- 6.1.14
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-web
org.springframework:spring-web
- Ecosystem
- Maven
- Affected
- >= 6.0.0, <= 6.0.24
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-web
org.springframework:spring-context
- Ecosystem
- Maven
- Affected
- >= 6.0.0, <= 6.0.24
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-context
org.springframework:spring-context
- Ecosystem
- Maven
- Affected
- <= 5.3.40
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-context
org.springframework:spring-web
- Ecosystem
- Maven
- Affected
- <= 5.3.40
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework:spring-web
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to jw123023, levpachmanov, joshbressers.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-38820
- https://spring.io/security/cve-2024-38820
- https://github.com/spring-projects/spring-framework/commit/23656aebc6c7d0f9faff1080981eb4d55eff296c
- https://github.com/spring-projects/spring-framework/commits/v6.2.0-RC2
- https://security.netapp.com/advisory/ntap-20241129-0003
- https://github.com/advisories/GHSA-4gc7-5j7h-4qph
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
More Maven vulnerabilities
All Maven entriesCVE-2026-41854
Spring Framework Server-Side Request Forgery via UriComponentsBuilder
medium4.2Jun 9, 2026CVE-2025-41234
Spring Framework vulnerable to a reflected file download (RFD)
medium6.5No fixJun 13, 2025CVE-2025-22233
Spring Framework DataBinder Case Sensitive Match Exception
low3.1No fixMay 16, 2025CVE-2024-38809
Spring Framework DoS via conditional HTTP request
medium5.3Sep 24, 2024CVE-2024-22262
Spring Framework URL Parsing with Host Validation
high8.1Apr 16, 2024CVE-2024-22259
Spring Framework URL Parsing with Host Validation Vulnerability
high8.1Mar 16, 2024
