Integer Overflow or Wraparound Affecting org.springframework.security:spring-security-crypto package, versions [,5.5.7) [5.6.0,5.6.4)
Snyk CVSS
Attack Complexity
High
Privileges Required
High
Scope
Changed
Confidentiality
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.15% (52nd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGSPRINGFRAMEWORKSECURITY-2833360
- published 18 May 2022
- disclosed 18 May 2022
- credit Eyal Kaspi
Introduced: 18 May 2022
CVE-2022-22976 Open this link in a new tabHow to fix?
Upgrade org.springframework.security:spring-security-crypto
to version 5.5.7, 5.6.4 or higher.
Overview
org.springframework.security:spring-security-crypto is a spring-security-crypto library for Spring Security.
Affected versions of this package are vulnerable to Integer Overflow or Wraparound when using the BCrypt class with the maximum work factor (31). In such a case, the encoder does not perform any salt rounds due to the overflow.
Note:
The default settings are not affected by this CVE.