GHSA-mg83-c7gq-rv5c

Spring Security Does Not Enforce Password Length

En bref

Publiée
Mise à jour
CVE
CVE-2025-22228
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.

Paquets affectés

PaquetVersions
Maven · org.springframework.security:spring-security-cryptointroduced 6.3.0, fixed 6.3.8
Maven · org.springframework.security:spring-security-cryptointroduced 6.4.0, fixed 6.4.4
Maven · org.springframework.security:spring-security-cryptointroduced 6.2.0, fixed 6.2.10
Maven · org.springframework.security:spring-security-cryptointroduced 6.1.0, fixed 6.1.14
Maven · org.springframework.security:spring-security-cryptointroduced 6.0.0, fixed 6.0.16
Maven · org.springframework.security:spring-security-cryptointroduced 5.8.0, fixed 5.8.18
Maven · org.springframework.security:spring-security-cryptointroduced 0, fixed 5.7.16

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database