Protection Mechanism Failure in Spring Security - CVE-2025-22234

 

Protection Mechanism Failure in Spring Security - CVE-2025-22234

Published: April 23, 2025


Vulnerability identifier: #VU107857
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-22234
CWE-ID: CWE-693
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: VMware, Inc
Affected software:
Spring Security

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to an error in the BCryptPasswordEncoder caused by a fix for #VU105881 (CVE-2025-22228), which broke the timing attack mitigation implemented in DaoAuthenticationProvider. A remote attacker can brute-force weak passwords.


How to mitigate CVE-2025-22234

Install updates from vendor's website.

Sources