GHSA-vqxh-445g-37fc

Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

At a glance

Published
Updated
CVE
CVE-2025-22234
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Description

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

PackageVersions
Maven · org.springframework.security:spring-security-coreintroduced 6.3.8, fixed 6.3.9
Maven · org.springframework.security:spring-security-coreintroduced 6.4.4, fixed 6.4.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database