Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-22234: CWE-208 Timing Descrepency in Spring Spring Security

0
Medium
VulnerabilityCVE-2025-22234cvecve-2025-22234cwe-208
Published: Thu Jan 22 2026 (01/22/2026, 21:02:23 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Security

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.

AI-Powered Analysis

AILast updated: 01/22/2026, 21:35:17 UTC

Technical Analysis

CVE-2025-22234 is a timing attack vulnerability classified under CWE-208 (Information Exposure Through Timing Discrepancy) affecting the DaoAuthenticationProvider component of Spring Security. The issue originated when a prior fix for CVE-2025-22228 unintentionally disabled the timing attack mitigation mechanism. DaoAuthenticationProvider is responsible for authenticating users against a data source, and the mitigation previously ensured that response times were uniform regardless of whether a username was valid or not. With this mitigation broken, attackers can measure subtle differences in response times to infer whether a username exists or to glean other authentication-related information. This side-channel attack requires no authentication or user interaction and can be executed remotely over the network. The vulnerability affects multiple Spring Security versions, including 5.7.16, 5.8.18, and all 6.x versions up to 6.4.4. Although the vulnerability does not allow direct compromise of credentials or system integrity, it leaks sensitive information that can be leveraged in subsequent attacks such as brute force or social engineering. No patches are currently linked, indicating that users must monitor vendor advisories closely. The CVSS 3.1 base score of 5.3 reflects a medium severity, with the vector indicating network attack vector, low attack complexity, no privileges or user interaction required, and limited confidentiality impact without integrity or availability effects.

Potential Impact

For European organizations, this vulnerability poses a moderate risk primarily through information disclosure. By revealing valid usernames, attackers can streamline credential stuffing, password spraying, or targeted phishing campaigns, increasing the likelihood of successful account compromise. Organizations relying on Spring Security for authentication in web applications, especially those handling sensitive or regulated data, may face increased exposure to identity-based attacks. While the vulnerability does not directly compromise system integrity or availability, the confidentiality breach can undermine trust and compliance with data protection regulations such as GDPR. The ease of remote exploitation without authentication means attackers can probe public-facing applications at scale. This risk is heightened for sectors with high-value targets such as finance, healthcare, and government services prevalent in Europe. Additionally, the lack of known exploits in the wild currently provides a window for proactive mitigation before widespread abuse occurs.

Mitigation Recommendations

European organizations should immediately identify and inventory all applications using affected Spring Security versions (5.7.16, 5.8.18, 6.0.16 through 6.4.4). Until an official patch is released, implement compensating controls such as introducing artificial delays or uniform response times in authentication workflows to obscure timing differences. Employ Web Application Firewalls (WAFs) with rate limiting and anomaly detection to detect and block suspicious probing activity targeting login endpoints. Review and enhance logging and monitoring to detect unusual authentication patterns indicative of enumeration attempts. Encourage use of multi-factor authentication (MFA) to reduce the impact of username enumeration. Educate development teams on secure coding practices to avoid timing side channels in authentication logic. Stay updated with Spring Security advisories for forthcoming patches and apply them promptly once available. Consider deploying application-layer defenses like CAPTCHA challenges after multiple failed login attempts to hinder automated attacks exploiting this vulnerability.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2025-01-02T04:29:59.191Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 697294b84623b1157c8fbb0f

Added to database: 1/22/2026, 9:20:56 PM

Last enriched: 1/22/2026, 9:35:17 PM

Last updated: 2/7/2026, 8:46:15 AM

Views: 41

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats