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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security:spring-security-core | All versions before 4.2.13 (fixed in 4.2.13) |
| Maven | org.springframework.security:spring-security-cas | All versions before 4.2.13.RELEASE (fixed in 4.2.13.RELEASE) |