Spring Security Authorization Bypass for Case Sensitive Comparisons

MEDIUM | NOVEMBER 19, 2024 | CVE-2024-38827

Description

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

Related to CVE-2024-38820

Affected Spring Products and Versions

Spring Security:

  • 6.3.0 - 6.3.4
  • 6.2.0 - 6.2.7
  • 6.1.0 - 6.1.11
  • 6.0.0 - 6.0.13
  • 5.8.0 - 5.8.15
  • 5.7.13 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
6.3.5OSS
6.2.8OSS
6.1.12Enterprise Support Only
6.0.14Enterprise Support Only
5.8.16Enterprise Support Only
5.7.14Enterprise Support Only

No further mitigation steps are necessary.

History

  • 2024-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all