ADVISORIES

GitHub Advisory Database

GHSA-jrv5-8w28-4265

Spring LDAP has Authentication Bypass with Empty Password

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.ldap:spring-ldap-core
From 4.0.0 before 4.0.4 (fixed in 4.0.4)
Mavenorg.springframework.ldap:spring-ldap-core
From 3.3.0 before 3.3.8 (fixed in 3.3.8)
Mavenorg.springframework.ldap:spring-ldap-core
From 3.2.0 up to and including 3.2.16
Mavenorg.springframework.ldap:spring-ldap-core
All versions up to and including 2.4.4

References