MediumGHSA-4gc7-5j7h-4qphCVE-2024-38820
Spring Framework DataBinder Case Sensitive Match Exception
Published 18 Oct 2024 · Updated 10 Sept 2026
Is your project on an affected org.springframework:spring-context?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=6.1.0 <6.1.14
- Fixed in
- 6.1.14
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-context -DdepVersion=6.1.14 -DforceVersion=true- Affected
- >=6.1.0 <6.1.14
- Fixed in
- 6.1.14
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-web -DdepVersion=6.1.14 -DforceVersion=true- Affected
- >=6.0.0 <=6.0.24
- Fixed in
- No fix released
- Affected
- >=6.0.0 <=6.0.24
- Fixed in
- No fix released
- Affected
- <=5.3.40
- Fixed in
- No fix released
- Affected
- <=5.3.40
- Fixed in
- No fix released
Details
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.
Is GHSA-4gc7-5j7h-4qph in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-context, and gives you the command that fixes it.
More advisories for org.springframework:spring-context
- LowCVE-2025-22233Spring Framework DataBinder Case Sensitive Match Exception · 16 May 2025
- HighCVE-2022-22968Improper handling of case sensitivity in Spring Framework · 15 Apr 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-38820
- Linkgithub.com/spring-projects/spring-framework/commit/23656aebc6c7d0f9faff1080981eb4d55eff296c
- Packagegithub.com/spring-projects/spring-framework
- Linkgithub.com/spring-projects/spring-framework/commits/v6.2.0-RC2
- Linksecurity.netapp.com/advisory/ntap-20241129-0003
- Linkspring.io/security/cve-2024-38820
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.