Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.security/spring-security-core
  4. ›
  5. CVE-2025-22234

CVE-2025-22234: Spring Security has a broken timing attack mitigation implemented in DaoAuthenticationProvide

January 22, 2026

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

  • github.com/advisories/GHSA-vqxh-445g-37fc
  • github.com/spring-projects/spring-security
  • nvd.nist.gov/vuln/detail/CVE-2025-22234
  • spring.io/security/cve-2025-22234

Code Behaviors & Features

Detect and mitigate CVE-2025-22234 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 6.3.8 before 6.3.9, version 6.3.8, all versions starting from 6.4.4 before 6.4.5, version 6.4.4

Fixed versions

  • 6.3.9
  • 6.4.5

Solution

Upgrade to versions 6.3.9, 6.4.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy

Source file

maven/org.springframework.security/spring-security-core/CVE-2025-22234.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.