CVE-2024-38827: Spring Security Authorization Bypass for Case Sensitive Comparisons

Published Dec 2, 2024
·
Updated

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

Affected Software

7 affected componentsFixes available
maven/org.springframework.security:spring-security-core>=6.3.0<6.3.5
6.3.5
maven/org.springframework.security:spring-security-core>=6.2.0<6.2.8
6.2.8
maven/org.springframework.security:spring-security-core>=6.1.0<6.1.12
6.1.12
maven/org.springframework.security:spring-security-core>=6.0.0<6.0.14
6.0.14
maven/org.springframework.security:spring-security-core>=5.8.0<5.8.16
5.8.16
maven/org.springframework.security:spring-security-core<5.7.14
5.7.14
IBM Knowledge Catalog Standard Cartridge<=5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1, 5.1.1, 5,1.2, 5.1.3, 5.2.0, 5.2.1

Event History

Dec 2, 2024
CVE Published
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·03:31 PM
Mar 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-38827?

CVE-2024-38827 has a medium severity rating, indicating potential impact on authorization rules due to locale-dependent behavior.

2

How do I fix CVE-2024-38827?

To fix CVE-2024-38827, upgrade to Spring Security Core version 6.3.5, 6.2.8, 6.1.12, 6.0.14, or 5.8.16 as applicable.

3

What kind of software is affected by CVE-2024-38827?

CVE-2024-38827 affects versions of Spring Security Core from 5.7.14 to 6.3.5 that use String.toLowerCase() and String.toUpperCase() methods.

4

What impact does CVE-2024-38827 have on authorization?

CVE-2024-38827 can result in authorization rules failing to work properly due to inconsistencies caused by locale-dependent exceptions.

5

Is CVE-2024-38827 related to a specific library?

Yes, CVE-2024-38827 is specifically related to the org.springframework.security:spring-security-core library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2024-38827 - Spring Security Authorization Bypass for Case Sensitive Comparisons - SecAlerts