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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
org.springframework:spring-context security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.