GHSA-mg83-c7gq-rv5c
Spring Security Does Not Enforce Password Length
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.security:spring-security-crypto | >= 6.3.0, < 6.3.8 | 6.3.8 |
| Maven | org.springframework.security:spring-security-crypto | >= 6.4.0, < 6.4.4 | 6.4.4 |
| Maven | org.springframework.security:spring-security-crypto | >= 6.2.0, < 6.2.10 | 6.2.10 |
| Maven | org.springframework.security:spring-security-crypto | >= 6.1.0, < 6.1.14 | 6.1.14 |
| Maven | org.springframework.security:spring-security-crypto | >= 6.0.0, < 6.0.16 | 6.0.16 |
| Maven | org.springframework.security:spring-security-crypto | >= 5.8.0, < 5.8.18 | 5.8.18 |
| Maven | org.springframework.security:spring-security-crypto | < 5.7.16 | 5.7.16 |
Details
As written in the advisory (Markdown source, shown as plain text).
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
References
External links from the advisory. They lead to third-party sites.