GitHub Advisory Database
GHSA-vqxh-445g-37fc
Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
Details
The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. This can allow attackers to infer valid usernames or other authentication behavior via response-time differences under certain configurations.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.security:spring-security-core | From 6.3.8 before 6.3.9 (fixed in 6.3.9) |
| Maven | org.springframework.security:spring-security-core | From 6.4.4 before 6.4.5 (fixed in 6.4.5) |