Improper Authentication in Pivotal Spring-LDAP
In Pivotal Spring-LDAP versions 1.3.0 - 2.3.1, when connected to some LDAP servers, when no additional attributes are bound, and when using LDAP BindAuthenticator with org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy as the authentication strategy, and setting userSearch, authentication is allowed with an arbitrary password when the username is correct. This occurs because some LDAP vendors require an explicit operation for the LDAP bind to take effect.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.ldap:spring-ldap-core | >= 1.3.0, < 2.3.2 | 2.3.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-8028
- https://github.com/spring-projects/spring-ldap/commit/08e8ae289bbd1b581986c7238604a147119c1336
- https://access.redhat.com/errata/RHSA-2018:0319
- https://github.com/spring-projects/spring-ldap
- https://lists.debian.org/debian-lts-announce/2017/11/msg00026.html
- https://pivotal.io/security/cve-2017-8028
- https://www.debian.org/security/2017/dsa-4046
- https://www.oracle.com/security-alerts/cpujan2021.html
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-287- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.ldap:spring-ldap-core- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pjqh-2jcc-5j84 - CC BY 4.0
Vulnerability history: org.springframework.ldap:spring-ldap-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 1
-
Improper Authentication in Pivotal Spring-LDAP this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.