spring-ldap-core is vulnerable to Improper Validation of Certificate with Host Mismatch
74
High Risk
Spring LDAP's DirContextAuthenticationStrategy implementations do not reject a bind request where a non-empty username is paired with an empty or null password. RFC 4513 Section 5.1.2 defines this as an unauthenticated bind. On LDAP servers that permit such binds, an attacker with a valid username and an empty password can bypass password verification.
You are affected if you are using a version that falls within the vulnerable range.
spring-ldap-core is vulnerable to Improper Validation of Certificate with Host Mismatch in versions 0.0.0 - 2.4.4, 3.0.0 - 3.2.17, 3.3.0 - 3.3.7 and 4.0.0 - 4.0.3.
Upgrade the org.springframework.ldap:spring-ldap-core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant