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-coreDetails
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.RELEASEFix
# pom.xml: bump <version>3.2.2.RELEASE</version> for org.springframework.security:spring-security-coreMaven/org.springframework.security:spring-security-core
Introduced in:
3.1.0Fixed in: 3.1.5.RELEASEFix
# pom.xml: bump <version>3.1.5.RELEASE</version> for org.springframework.security:spring-security-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2014-0097[ADVISORY]
- https://github.com/spring-projects/spring-security/commit/7dbb8e777ece8675f3333a1ef1cb4d6b9be80395[WEB]
- https://github.com/spring-projects/spring-security/commit/88559882e967085c47a7e1dcbc4dc32c2c796868[WEB]
- https://github.com/spring-projects/spring-security/commit/a7005bd74241ac8e2e7b38ae31bc4b0f641ef973[WEB]
- https://jira.springsource.org/browse/SEC-2500[WEB]
- https://pivotal.io/security/cve-2014-0097[WEB]
- https://www.oracle.com/security-alerts/cpuapr2022.html[WEB]