Check the status of CVEs. Learn More.
php2shell patches (CVE-2026-109618 and CVE-2026-109619) for EOL PHP are out now. With sales replies slower than usual due to high demand, the fastest route to patched packages is to buy ELS for Runtimes online (opens in new tab). | Read the patch FAQ
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 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!