CVE-2022-22976
MEDIUM5.3EPSS 0.36%Integer overflow in BCrypt class in Spring Security
Published: 5/20/2022Modified: 6/13/2024
Description
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.
Affected packages (1)
- Maven/org.springframework.security:spring-security-core>= 5.2.0.RELEASE, < 5.5.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-22976
- PATCHhttps://github.com/spring-projects/spring-security
- WEBhttps://github.com/spring-projects/spring-security/commit/388a7b62b906bd56deadb7ca45248fa1a63bdf12
- WEBhttps://github.com/spring-projects/spring-security/commit/a40f73521c0dd88b879ff6165d280e78bdf8154f
- WEBhttps://security.netapp.com/advisory/ntap-20220707-0003
- WEBhttps://tanzu.vmware.com/security/cve-2022-22976
- WEBhttps://www.oracle.com/security-alerts/cpujul2022.html