ADVISORIES

GitHub Advisory Database

GHSA-q3v6-hm2v-pw99

Spring Framework has Authorization Bypass for Case Sensitive Comparisons

Moderate CVE-2024-38827

Details

The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in authorization rules not working properly.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
All versions before 5.7.14 (fixed in 5.7.14)
Mavenorg.springframework.security:spring-security-core
From 5.8.0 before 5.8.16 (fixed in 5.8.16)
Mavenorg.springframework.security:spring-security-core
From 6.0.0 before 6.0.14 (fixed in 6.0.14)
Mavenorg.springframework.security:spring-security-core
From 6.1.0 before 6.1.12 (fixed in 6.1.12)
Mavenorg.springframework.security:spring-security-core
From 6.2.0 before 6.2.8 (fixed in 6.2.8)
Mavenorg.springframework.security:spring-security-core
From 6.3.0 before 6.3.5 (fixed in 6.3.5)

References