{"id":"CVE-2022-22976","aliases":["CVE-2022-22976","GHSA-wx54-3278-m5g4"],"related":[],"kind":"vulnerability","state":"published","title":"Integer overflow in BCrypt class in Spring Security","summary":"Spring Security versions 5.5.x prior to 5.5.7, 5.6.x prior to 5.6.4, and earlier unsupported versions contain an integer overflow vulnerability. When using the BCrypt class with the maximum work factor (31), the encoder does not perform any salt rounds, due to an integer overflow error. The default settings are not affected by this CVE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Spring Security versions 5.5.x prior to 5.5.7, 5.6.x prior to 5.6.4, and earlier unsupported versions contain an integer overflow vulnerability. When using the BCrypt class with the maximum work factor (31), the encoder does not perform any salt rounds, due to an integer overflow error. The default settings are not affected by this CVE.","source":"cvelist"},{"lang":"es","text":"Spring Security versiones 5.5.x anteriores a 5.5.7, 5.6.x anteriores a 5.6.4 y versiones anteriores no soportadas, contienen una vulnerabilidad de desbordamiento de enteros. Cuando es usada la clase BCrypt con el máximo factor de trabajo (31), el codificador no lleva a cabo ninguna ronda salt, debido a un error de desbordamiento de enteros. La configuración por defecto no está afectada por esta CVE","source":"nvd"}],"published":"2022-05-19T14:50:46.000Z","modified":"2026-06-17T04:29:16.813Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"Spring Security versions 5.5.x prior to 5.5.7, 5.6.x prior to 5.6.4, and earlier unsupported versions","status":"affected"}],"product":"Spring Security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0.RELEASE","status":"affected","fixed":"5.5.7"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.6.0","status":"affected","fixed":"5.6.4"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.2.1","fixed":"5.5.7"},{"status":"affected","introduced":"5.6.0","fixed":"5.6.4"},{"status":"affected","version":"5.2.0"}],"vendor":"vmware","product":"spring_security","cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0.8.2.0"},{"status":"affected","version":"8.0.8.3.0"}],"vendor":"oracle","product":"financial_services_crime_and_compliance_management_studio","cpe":"cpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"active_iq_unified_manager","cpe":"cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:*","source":"nvd"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-22976","tags":["mitigation","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220707-0003/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22976","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/commit/388a7b62b906bd56deadb7ca45248fa1a63bdf12","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/commit/a40f73521c0dd88b879ff6165d280e78bdf8154f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220707-0003","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-22976","url":"https://www.cve.org/CVERecord?id=CVE-2022-22976","licence":"CVE Terms of Use","modified":"2024-08-03T03:28:42.454Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wx54-3278-m5g4","url":"https://github.com/advisories/GHSA-wx54-3278-m5g4","licence":"CC-BY-4.0","modified":"2024-06-13T22:00:44.940Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-22976","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22976","licence":"Public domain","modified":"2026-06-17T04:29:16.813Z"}],"updatedAt":"2026-11-25T22:58:11.812Z","epss":{"score":0.02335,"percentile":0.84062,"date":"2026-12-02T12:00:21.000Z"}}