CVE-2022-22976
MEDIUM 5.3CVSS 3.1Integer overflow in BCrypt class in Spring Security
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.
- Published
- 19 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@vmware.com
- NVD status
- Modified
- Weakness
- CWE-190
- Also known as
- GHSA-wx54-3278-m5g4
- Sources
- NVDJSONOSV GHSA-wx54-3278-m5g4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.2.1, < 5.5.7 | 5.5.7 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* |
>= 5.6.0, < 5.6.4 | 5.6.4 |
| NVD | vmware | spring_securitycpe:2.3:a:vmware:spring_security:5.2.0:-:*:*:*:*:*:* |
= 5.2.0 | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.2.0:*:*:*:*:*:*:* |
= 8.0.8.2.0 | |
| NVD | oracle | financial_services_crime_and_compliance_management_studiocpe:2.3:a:oracle:financial_services_crime_and_compliance_management_studio:8.0.8.3.0:*:*:*:*:*:*:* |
= 8.0.8.3.0 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.2.0.RELEASE, < 5.5.7 | 5.5.7 |
| OSV | Maven | org.springframework.security:spring-security-core | >= 5.6.0, < 5.6.4 | 5.6.4 |
References
- https://security.netapp.com/advisory/ntap-20220707-0003/ · Third Party Advisory, WEB
- https://tanzu.vmware.com/security/cve-2022-22976 · Mitigation, Vendor Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-22976 · ADVISORY
- https://github.com/spring-projects/spring-security/commit/388a7b62b906bd56deadb7ca45248fa1a63bdf12 · WEB
- https://github.com/spring-projects/spring-security/commit/a40f73521c0dd88b879ff6165d280e78bdf8154f · WEB
- https://github.com/spring-projects/spring-security · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 19 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 May 2022)