CVE-2025-22228

CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length

HIGH 7.4

En bref

Source
NVD
EPSS
EPSS 0.61 % · centile 49 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
vmware
Statut NVD
Deferred

Description

BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.

Faiblesses (CWE)

  • CWE-287 — Authentification incorrecte

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Nvmware
CVSS 3.1HIGH 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · security@vmware.com (Secondary)

Avis

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Spring · Spring Securityaffected 5.7.x < 5.7.16 ; affected 5.8.x < 5.8.18 ; affected 6.0.x < 6.0.16 ; affected 6.1.x < 6.1.14 ; affected 6.2.x < 6.2.10 ; affected 6.3.x < 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