CVE-2017-8028
Improper Authentication in Pivotal Spring-LDAP
Reported by dell · Published November 27, 2017
spring-ldap-core is fixed in 2.3.2 and 2.3.1 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.ldap:spring-ldap-core | Maven Central | 2.3.2, 2.3.1 |
| libspring-ldap-java | Ubuntu:14.04:LTS | 1.3.1.RELEASE-4+deb7u1build0.14.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 | Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 |
| n/a | Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 | 1.3.0 |
| Maven | org.springframework.ldap:spring-ldap-core | 1.3.0 |
Timeline
- Nov 27, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 20, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (3 in total, the first dated here)
- Sep 27, 2026 Coalition ESS Score
- Nov 1, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-8028
vulnetix vdb fixes CVE-2017-8028
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-8028/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:0319 vendor-advisoryx_refsource_REDHAT
- DSA-4046 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20171119 [SECURITY] [DLA 1180-1] libspring-ldap-java security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2017-8028 advisory
- https://github.com/advisories/GHSA-pjqh-2jcc-5j84 advisory