MEDIUM5.3
GHSA-vqxh-445g-37fc
Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
Quick fix
GHSA-vqxh-445g-37fc — org.springframework.security:spring-security-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>6.3.9</version> for org.springframework.security:spring-security-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework.security:spring-security-core
Introduced in:
6.3.8Fixed in: 6.3.9Fix
# pom.xml: bump <version>6.3.9</version> for org.springframework.security:spring-security-coreMaven/org.springframework.security:spring-security-core
Introduced in:
6.4.4Fixed in: 6.4.5Fix
# pom.xml: bump <version>6.4.5</version> for org.springframework.security:spring-security-core