ADVISORIES

GitHub Advisory Database

GHSA-4gc7-5j7h-4qph

Spring Framework DataBinder Case Sensitive Match Exception

Moderate CVE-2024-38820

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-context
From 6.1.0 before 6.1.14 (fixed in 6.1.14)
Mavenorg.springframework:spring-web
From 6.1.0 before 6.1.14 (fixed in 6.1.14)
Mavenorg.springframework:spring-web
From 6.0.0 up to and including 6.0.24
Mavenorg.springframework:spring-context
From 6.0.0 up to and including 6.0.24
Mavenorg.springframework:spring-context
All versions up to and including 5.3.40
Mavenorg.springframework:spring-web
All versions up to and including 5.3.40

References