Skip to main content
← All vulnerabilities
CVE-2022-22976GHSA-WX54-3278-M5G4

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 vulnerabil

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5.7, 5.6.4
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a Spring Security

    Version range not reported

  • org.springframework.security:spring-security-coreMaven

    From 5.2.0.RELEASE · fixed in 5.5.7

  • org.springframework.security:spring-security-coreMaven

    From 5.6.0 · fixed in 5.6.4

References 4

tanzu.vmware.com

oracle.com

security.netapp.com

GitHub · spring-io/cve-2022-22976-bcrypt-skips-salt