~ / search / GHSA-vqxh-445g-37fc

GHSA-vqxh-445g-37fc

Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-22234

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework.security:spring-security-core >= 6.3.8, < 6.3.9 6.3.9
Maven org.springframework.security:spring-security-core >= 6.4.4, < 6.4.5 6.4.5

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.