{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22228","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","state":"PUBLISHED","assignerShortName":"vmware","dateReserved":"2025-01-02T04:29:59.191Z","datePublished":"2025-03-20T05:49:19.275Z","dateUpdated":"2026-02-26T19:09:20.934Z"},"containers":{"cna":{"affected":[{"defaultStatus":"affected","packageName":"Spring Security","product":"Spring Security","vendor":"Spring","versions":[{"lessThan":"5.7.16","status":"affected","version":"5.7.x","versionType":"Enterprise Support Only"},{"lessThan":"5.8.18","status":"affected","version":"5.8.x","versionType":"Enterprise Support Only"},{"lessThan":"6.0.16","status":"affected","version":"6.0.x","versionType":"Enterprise Support Only"},{"lessThan":"6.1.14","status":"affected","version":"6.1.x","versionType":"Enterprise Support Only"},{"lessThan":"6.2.10","status":"affected","version":"6.2.x","versionType":"Enterprise Support Only"},{"lessThan":"6.3.8","status":"affected","version":"6.3.x","versionType":"OSS"},{"lessThan":"6.4.4","status":"affected","version":"6.4.x","versionType":"OSS"}]}],"datePublic":"2025-03-19T08:44:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<code>BCryptPasswordEncoder.matches(CharSequence,String)</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;will incorrectly return </span><code>true</code><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;for passwords larger than 72 characters as long as the first 72 characters are the same.</span><br>"}],"value":"BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","shortName":"vmware","dateUpdated":"2025-03-20T05:49:19.275Z"},"references":[{"url":"https://spring.io/security/cve-2025-22228"}],"source":{"discovery":"UNKNOWN"},"title":"CVE-2025-22228: Spring Security BCryptPasswordEncoder does not enforce maximum password length","x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-22228","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-03-21T03:55:17.357088Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-287","description":"CWE-287 Improper Authentication"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-02-26T19:09:20.934Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20250425-0009/"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-04-25T23:03:00.421Z"}}]}}