Skip to content

CVE-2022-22976 Integer overflow in BCrypt class in Spring Security

MediumCVSS 5.3 EPSS 2.3%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
org.springframework.security/spring-security-core(Maven) >= 5.2.0.RELEASE, < 5.5.7 5.5.7
org.springframework.security/spring-security-core(Maven) = 5.2.0.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.1.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.10.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.11.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.12.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.13.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.14.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.15.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.2.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.3.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.4.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.5.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.6.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.7.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.8.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.2.9.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.0.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.1.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.10.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.11.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.12.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.13.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.2.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.3.RELEASE No fix listed
Show 40 more
ProductAffected versionsFixed in
org.springframework.security/spring-security-core(Maven) = 5.3.4.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.5.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.6.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.7.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.8.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.3.9.RELEASE No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.0 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.1 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.10 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.11 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.2 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.3 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.4 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.5 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.6 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.7 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.8 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.4.9 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.0 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.1 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.2 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.3 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.4 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.5 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.5.6 No fix listed
org.springframework.security/spring-security-core(Maven) >= 5.6.0, < 5.6.4 5.6.4
org.springframework.security/spring-security-core(Maven) = 5.6.0 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.6.1 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.6.2 No fix listed
org.springframework.security/spring-security-core(Maven) = 5.6.3 No fix listed
ubuntu/libspring-java(Ubuntu:22.04) All versions No fix listed
VMware spring security >= 5.2.1, < 5.5.7 5.5.7
VMware spring security >= 5.6.0, < 5.6.4 5.6.4
VMware spring security = 5.2.0 No fix listed
oracle financial services crime and compliance management studio = 8.0.8.2.0 No fix listed
oracle financial services crime and compliance management studio = 8.0.8.3.0 No fix listed
netapp active iq unified manager All versions No fix listed
ubuntu/libspring-java(Ubuntu:24.04) All versions No fix listed
ubuntu/libspring-java(Ubuntu:26.04) All versions No fix listed
ubuntu/libspring-java(Ubuntu:26.10) All versions No fix listed

References