ADVISORIES

GitHub Advisory Database

GHSA-v33x-prhc-gph5

Insufficiently Protected Credentials and Improper Authentication in Spring Security

Details

Spring Security, versions 4.2.x up to 4.2.12, and older unsupported versions support plain text passwords using PlaintextPasswordEncoder. If an application using an affected version of Spring Security is leveraging PlaintextPasswordEncoder and a user has a null encoded password, a malicious user (or attacker) can authenticate using a password of ?null?.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
All versions before 4.2.13 (fixed in 4.2.13)
Mavenorg.springframework.security:spring-security-cas
All versions before 4.2.13.RELEASE (fixed in 4.2.13.RELEASE)

References