ADVISORIES

GitHub Advisory Database

GHSA-vqxh-445g-37fc

Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

Moderate CVE-2025-22234

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

EcosystemPackageAffected versions
Mavenorg.springframework.security:spring-security-core
From 6.3.8 before 6.3.9 (fixed in 6.3.9)
Mavenorg.springframework.security:spring-security-core
From 6.4.4 before 6.4.5 (fixed in 6.4.5)

References