cve.bz

CVE-2025-22234 spring spring security: Observable Timing Discrepancy

5.3 mediumEPSS 0.4%Fix available

Medium (5.3) in spring spring security. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 6.3.9, 6.4.5.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-208 Observable Timing Discrepancy
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework.security:spring-security-core (Maven): fixed in 6.3.9, 6.4.5

Ask an AI about this CVE

Show the promptExplain CVE-2025-22234 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22234?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22234?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22234 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Spring Security5.7.16
Spring Security5.8.18
Spring Security6.0.16
Spring Security6.1.14
Spring Security6.2.10
Spring Security6.3.8
Spring Security6.4.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vqxh-445g-37fcMavenorg.springframework.security:spring-security-core>=6.3.8 <6.3.96.3.9
GHSA-vqxh-445g-37fcMavenorg.springframework.security:spring-security-core>=6.4.4 <6.4.56.4.5

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel8Fix deferred
OpenShift Developer Tools and Servicesocp-tools-4/jenkins-rhel9Fix deferred
Red Hat build of Apache Camel for Spring Boot 4spring-security-coreFix deferred
Red Hat build of Apache Camel - HawtIO 4spring-security-coreFix deferred
Red Hat Data Grid 8spring-security-coreFix deferred
Red Hat Fuse 7spring-security-coreFix deferred
Red Hat JBoss Enterprise Application Platform 7spring-security-coreFix deferred
Red Hat JBoss Enterprise Application Platform 8spring-security-coreFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packspring-security-coreFix deferred
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel9Fix deferred
Red Hat Process Automation 7spring-security-coreFix deferred
Red Hat Single Sign-On 7spring-security-coreFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22234.

Attack patterns (CAPEC)

  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-541 Application Fingerprinting Severity: Low
  • CAPEC-580 System Footprinting Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON