{"id":"CVE-2025-22234","state":"PUBLISHED","title":"Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation","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.","publishedAt":"2026-01-22T21:02:23.992Z","updatedAt":"2026-01-22T21:27:13.558Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"vmware"},"assigner":"vmware","products":["Spring Spring Security"],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"affected","versions":[{"version":"5.7.16","status":"affected","versionType":"semver"},{"version":"5.8.18","status":"affected","versionType":"semver"},{"version":"6.0.16","status":"affected","versionType":"semver"},{"version":"6.1.14","status":"affected","versionType":"semver"},{"version":"6.2.10","status":"affected","versionType":"semver"},{"version":"6.3.8","status":"affected","versionType":"semver"},{"version":"6.4.4","status":"affected","versionType":"semver"}],"collectionURL":"https://spring.io/projects/spring-security"}],"references":["https://spring.io/security/cve-2025-22234/"],"weaknesses":["CWE-208"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/22xxx/CVE-2025-22234.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-22234","state":"PUBLISHED","datePublished":"2026-01-22T21:02:23.992Z","dateUpdated":"2026-01-22T21:27:13.558Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2025-01-02T04:29:59.191Z"},"containers":{"cna":{"title":"Spring Security - BCrypt Password Encoder maximum password length breaks timing attack mitigation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Spring","product":"Spring Security","defaultStatus":"affected","versions":[{"version":"5.7.16","status":"affected","versionType":"semver"},{"version":"5.8.18","status":"affected","versionType":"semver"},{"version":"6.0.16","status":"affected","versionType":"semver"},{"version":"6.1.14","status":"affected","versionType":"semver"},{"version":"6.2.10","status":"affected","versionType":"semver"},{"version":"6.3.8","status":"affected","versionType":"semver"},{"version":"6.4.4","status":"affected","versionType":"semver"}],"collectionURL":"https://spring.io/projects/spring-security"}],"references":[{"url":"https://spring.io/security/cve-2025-22234/","name":"Spring Security Advisory: CVE-2025-22234","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-208","description":"CWE-208 Timing Descrepency","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2026-01-22T21:02:23.992Z"},"credits":[{"lang":"en","type":"reporter","value":"Jonas Robl"}],"datePublic":"2025-04-25T15:43:00.000Z","solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Upgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line).</p>"}],"value":"Upgrade to a fixed version: 5.7.17, 5.8.19, 6.0.17, 6.1.15, 6.2.11, 6.3.9, or 6.4.5 (depending on your release line)."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.5.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-22T21:27:06.559653Z","id":"CVE-2025-22234","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-22T21:27:13.558Z"}}]}}}