CVE-2022-22976
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.36%• Percentile: 58%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- org.springframework.security•spring-security-core
≥ 5.2.0.RELEASE, < 5.5.7 | ≥ 5.6.0, < 5.6.4
- netapp•active_iq_unified_manager
na
- oracle•financial_services_crime_and_compliance_management_studio
8.0.8.2.0 | 8.0.8.3.0
- vmware•spring_security
≥ 5.2.1, < 5.5.7 | ≥ 5.6.0, < 5.6.4 | 5.2.0
References (8)
- https://tanzu.vmware.com/security/cve-2022-22976
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20220707-0003/
- https://nvd.nist.gov/vuln/detail/CVE-2022-22976
- https://github.com/spring-projects/spring-security/commit/388a7b62b906bd56deadb7ca45248fa1a63bdf12
- https://github.com/spring-projects/spring-security/commit/a40f73521c0dd88b879ff6165d280e78bdf8154f
- https://github.com/spring-projects/spring-security
- https://security.netapp.com/advisory/ntap-20220707-0003