Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 | Spring-LDAP Spring-LDAP versions 1.3.0 2.3.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | libspring-ldap-java | 1.3.1.RELEASE-5+deb8u1 | DSA-4046-1 |
| Debian 7 | libspring-ldap-java | 1.3.1.RELEASE-4+deb7u1 | DLA-1180-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | libspring-ldap-java | 1.3.1.RELEASE-4+deb7u1build0.14.04.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.ldap:spring-ldap-core | >= 1.3.0, < 2.3.2 | 2.3.2 | GHSA-pjqh-2jcc-5j84 |
Advisories 2
- DSA-4046-1 libspring-ldap-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1180-1 libspring-ldap-java - security update Debian Security (DSA / DLA) · Mar 9, 2026