Check the status of CVEs. Learn More.
TuxCare’s Upcoming Webinars: STIG Security 101 [Sept 18th] & When Spring Ends: How to Securely Work with End-of-Life Spring Projects [Sept 19th]
This CVE has been resolved by the TuxCare team and
a patch has been delivered to ELS for Spring users.
Spring LDAP is a framework that simplifies LDAP (Lightweight Directory Access Protocol) integration for Java applications. It provides a template-based approach to interacting with LDAP directories, eliminating the need for complex low-level code.
Improper Handling of Case Sensitivity can result in a situation where the product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
In this CVE-2024-38829 Spring LDAP is impacted by sensitive data exposure for case-sensitive comparisons. It is an equivalent of CVE-2024-38820 but for Spring LDAP. The usage of String.toLowerCase() and String.toUpperCase() has some Locale dependent exceptions that could potentially result in unintended columns from being queried.
This issue affects multiple versions of:
org.springframework.ldap:spring-ldap-core package,
Org.springframework.ldap:spring-ldap-odm package.
Vulnerability Dossier | |
---|---|
CVE ID | CVE-2024-38829 |
Severity | Low: 3.7 |
CWE-ID and name | CWE-178 Improper Handling of Case Sensitivity |
Affected project | Spring LDAP |
Affected packages | spring-ldap-core spring-ldap-odm |
Affected versions | All prior to 2.4.0, <2.4.0;2.4.3>, <3.0.0;3.0.9>, <3.1.0;3.1.7>, <3.2.0;3.2.7> |
NVD publish date | 4th of December 2024 (Spring.io: 19th of November 2024) |
Open source fix date | 14th of November 2024 |
Open Source fixed versions | 2.4.4 |
The String.toLowerCase() and String.toUpperCase() methods in Java use locale-specific rules for case conversion. These rules can differ greatly depending on the locale, which could lead to unexpected results when comparing or transforming strings. For instance, the French locale has unique case-mapping rules for certain characters like ‘œ’ and ‘oe’, in German locale ‘ß’ and ‘ss’, etc. which deviate from the default behavior.
Spring LDAP 2.4.x is no longer supported by the open source community, as its End of Life date is 2023-06-30. This simply means that the version from that date does not receive any updates to address this issue.
Users of the affected components should apply one of the following mitigations:
Do you need a fix for this vulnerability for any other Spring Security version? Please contact us, we are here to help you!