Intel

AIKIDO-2025-10266

spring-security-crypto is vulnerable to Observable Timing Discrepancy

Observable Timing DiscrepancyCVE-2025-22234 Published Apr 24, 2025

60

Medium Risk

This Affects:

JAVAspring-security-crypto
5.7.16 - 6.3.8
Fixed in 6.3.9
6.4.4 - 6.4.4
Fixed in 6.4.5
Are you affected? Scan for Free

TL;DR

Affected versions are vulnerable to a regression where the fix for CVE-2025-22228 unintentionally disables the timing attack mitigation implemented in DaoAuthenticationProvider.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

spring-security-crypto is vulnerable to Observable Timing Discrepancy in versions 5.7.16 - 6.3.8 and 6.4.4 - 6.4.4.

How to fix this

Upgrade the org.springframework.security:spring-security-crypto library to the patch version.