VDB
KO
HIGH 7.4

GHSA-jrv5-8w28-4265

Spring LDAP has Authentication Bypass with Empty Password

Quick fix

GHSA-jrv5-8w28-4265 — org.springframework.ldap:spring-ldap-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>4.0.4</version> for org.springframework.ldap:spring-ldap-core

Details

Spring LDAP's DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an empty or null password.

Affected versions: Spring LDAP 2.4.0 through 2.4.4; 3.2.0 through 3.2.17; 3.3.0 through 3.3.7; 4.0.0 through 4.0.3.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.ldap:spring-ldap-core
Introduced in: 4.0.0 Fixed in: 4.0.4
Fix # pom.xml: bump <version>4.0.4</version> for org.springframework.ldap:spring-ldap-core
Maven / org.springframework.ldap:spring-ldap-core
Introduced in: 3.3.0 Fixed in: 3.3.8
Fix # pom.xml: bump <version>3.3.8</version> for org.springframework.ldap:spring-ldap-core
Maven / org.springframework.ldap:spring-ldap-core
Introduced in: 3.2.0

No fixed version published yet for org.springframework.ldap:spring-ldap-core (maven). Pin to a known-safe version or switch to an alternative.

Maven / org.springframework.ldap:spring-ldap-core
Introduced in: 0

No fixed version published yet for org.springframework.ldap:spring-ldap-core (maven). Pin to a known-safe version or switch to an alternative.

References