CVE-2025-22234

Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation

MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.39 % · percentile 33 ()
State
PUBLISHED
Published
Updated
Assigner
vmware
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-208 — Observable Timing Discrepancy

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Nvmware
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD · security@vmware.com (Secondary)

Advisories

European references

CERT-FR advisories

Affected products

ProductVersions
Spring · Spring Securityaffected 5.7.16 ; affected 5.8.18 ; affected 6.0.16 ; affected 6.1.14 ; affected 6.2.10 ; affected 6.3.8

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD