Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 11 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-208.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Security | 5.7.16 and later; 5.8.18 and later; 6.0.16 and later; 6.1.14 and later; 6.2.10 and later; 6.3.8 and later; 6.4.4 and later | — | No fix listed | CNA |
| — | org.springframework.security:spring-security-core (Maven) | 6.3.8 to before 6.3.9 | 6.3.9 | Patch available | GHSA-vqxh-445g-37fc |
| — | org.springframework.security:spring-security-core (Maven) | 6.4.4 to before 6.4.5 | 6.4.5 | Patch available | GHSA-vqxh-445g-37fc |
- Spring Security VendorVMware Affected 5.7.16 and later; 5.8.18 and later; 6.0.16 and later; 6.1.14 and later; 6.2.10 and later; 6.3.8 and later; 6.4.4 and later Fixed in — No fix listed CNA
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 6.3.8 to before 6.3.9 Fixed in 6.3.9 Patch available GHSA-vqxh-445g-37fc
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 6.4.4 to before 6.4.5 Fixed in 6.4.5 Patch available GHSA-vqxh-445g-37fc
Remediation
- Fix · GHSA-vqxh-445g-37fc org.springframework.security:spring-security-core (Maven) Fixed in 6.3.9 Advisory →
- Fix · GHSA-vqxh-445g-37fc org.springframework.security:spring-security-core (Maven) Fixed in 6.4.5 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Developer Tools and Services | Affected | No fix yet: Fix deferred |
| Red Hat Data Grid 8 | Affected | No fix yet: Fix deferred |
| Red Hat Fuse 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat Single Sign-On 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel - HawtIO 4 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-22234
- 2026-10-03 Alias added: GHSA-vqxh-445g-37fc
References
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-22234 · CVE Program
- CVE-2025-22234 · NVD
- FIRST EPSS
- GHSA-vqxh-445g-37fc · GitHub Advisory Database · CC BY 4.0
- CVE-2025-22234 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences