GitHub Advisoryadvisory · Maven
GHSA-vqxh-445g-37fc Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide
MEDIUM
Official page ↗
- Aliases
- CVE-2025-22234
- Ecosystem
- Maven
- Packages
- org.springframework.security:spring-security-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-208
- Reviewed
- 2026-01-22
Affected packages
• Maven org.springframework.security:spring-security-core: >= 6.3.8, < 6.3.9 → fixed in 6.3.9
• Maven org.springframework.security:spring-security-core: >= 6.4.4, < 6.4.5 → fixed in 6.4.5
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.
Related
Alias · CVE (1)
- CVE-2025-22234 The fix applied in CVE-2025-22228 inadvertently broke the timing attack mitigation implemented in DaoAuthenticationProvider. vulnerability
Weakness · CWE (1)
- CWE-208 Observable Timing Discrepancy weakness