CVE-2017-8028
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.1
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.
- Record
CVE-2017-8028- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 5.1 Medium
AV:N/AC:H/Au:N/C:P/I:P/A:P - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-8028- Updated
- 2026-11-02
EUVDEUVD-2022-4787 No score
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.
- Record
EUVD-2022-4787- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-pjqh-2jcc-5j84
8.1
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.
- Record
GHSA-pjqh-2jcc-5j84- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVGHSA-pjqh-2jcc-5j84
8.1
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.
- Record
GHSA-pjqh-2jcc-5j84- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-8028
8.1
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.
- Record
UBUNTU-CVE-2017-8028- CVSS 3.0
- 8.1 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0235 No score
Updated spring-ldap packages fix security vulnerability
It was discovered that spring-ldap would under some circumstances allow authentication with a correct username but an arbitrary password (CVE-2017-8028).
- Record
MGASA-2018-0235- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.ldap:spring-ldap-coreMaven |
1.3.0 to 2.3.1 | 2.3.2 |
libspring-ldap-javaDebian:7 |
before 1.3.1.RELEASE-4+deb7u1, plus listed versions 1.3.1.RELEASE-4 |
1.3.1.RELEASE-4+deb7u1 |
libspring-ldap-javaDebian:8 |
before 1.3.1.RELEASE-5+deb8u1, plus listed versions 1.3.1.RELEASE-5 |
1.3.1.RELEASE-5+deb8u1 |
org.springframework.ldap:spring-ldap-coreMaven |
1.3.0 up to 2.3.2, plus listed versions 1.3.0.RELEASE1.3.1.RELEASE1.3.2.RELEASE2.0.0.RELEASE2.0.1.RELEASE Show 8 moreShow less2.0.2.RELEASE2.0.3.RELEASE2.0.4.RELEASE2.1.0.RELEASE2.2.0.RELEASE2.2.1.RELEASE2.3.0.RELEASE2.3.1.RELEASE |
2.3.2 |
spring-ldapMageia:6 |
before 1.3.1-14.1.mga6 | 1.3.1-14.1.mga6 |
libspring-ldap-javaUbuntu:14.04:LTS |
before 1.3.1.RELEASE-4+deb7u1build0.14.04.1, plus listed versions 1.3.1.RELEASE-4 |
1.3.1.RELEASE-4+deb7u1build0.14.04.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-8028 is a high vulnerability (CVSS 8.1) in Pivotal Software Spring-ldap, published November 19, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.61%, the 85th percentile. Fixed in org.springframework.ldap:spring-ldap-core 2.3.2.
References
access.redhat.com/errata/RHSA-2018:0319
debian.org/security/2017/dsa-4046
lists.debian.org/debian-lts-announce/2017/11/msg00026.html
oracle.com/security-alerts/cpujan2021.html
pivotal.io/security/cve-2017-8028
nvd.nist.gov/vuln/detail/CVE-2017-8028
Show 8 moreShow less
github.com/spring-projects/spring-ldap/commit/08e8ae289bbd1b581986c7238604a147119c1336
github.com/advisories/GHSA-pjqh-2jcc-5j84
github.com/spring-projects/spring-ldap
advisories.mageia.org/MGASA-2018-0235.html
bugs.mageia.org/show_bug.cgi?id=22085
ubuntu.com/security/CVE-2017-8028
github.com/spring-projects/spring-ldap/issues/430
cve.org/CVERecord?id=CVE-2017-8028