VDB
Sign up
HIGH7.3

GHSA-gv9v-c375-hvmg

Improper Authentication in Spring Security

Quick fix

GHSA-gv9v-c375-hvmg — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.2.RELEASE</version> for org.springframework.security:spring-security-core

Details

The ActiveDirectoryLdapAuthenticator in Spring Security 3.2.0 to 3.2.1 and 3.1.0 to 3.1.5 does not check the password length. If the directory allows anonymous binds then it may incorrectly authenticate a user who supplies an empty password.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework.security:spring-security-core
Introduced in: 3.2.0Fixed in: 3.2.2.RELEASE
Fix# pom.xml: bump <version>3.2.2.RELEASE</version> for org.springframework.security:spring-security-core
Maven/org.springframework.security:spring-security-core
Introduced in: 3.1.0Fixed in: 3.1.5.RELEASE
Fix# pom.xml: bump <version>3.1.5.RELEASE</version> for org.springframework.security:spring-security-core

References