Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.5.1/spring-security-crypto-5.5.1.jar
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.
CVE-2022-22976 - Medium Severity Vulnerability
Vulnerable Library - spring-security-crypto-5.5.1.jar
Spring Security
Library home page: https://spring.io/projects/spring-security
Path to dependency file: /pom.xml
Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.5.1/spring-security-crypto-5.5.1.jar
Dependency Hierarchy: - spring-boot-starter-security-2.5.3.jar (Root Library) - spring-security-config-5.5.1.jar - spring-security-core-5.5.1.jar - :x: **spring-security-crypto-5.5.1.jar** (Vulnerable Library)
Found in HEAD commit: 0ee792f59c88ec2e75a080212b78199cb833d931
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2022-05-19
URL: CVE-2022-22976
CVSS 3 Score Details (5.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://tanzu.vmware.com/security/cve-2022-22976
Release Date: 2022-05-19
Fix Resolution (org.springframework.security:spring-security-crypto): 5.5.7
Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 2.5.14
Step up your Open Source Security Game with Mend here