CVE-2022-22976
MEDIUMSpring Security 5.5.x < 5.5.7 and 5.6.x < 5.6.4 - Integer Overflow in BCrypt Work Factor
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2022-22976. PoCs published by spring-io.
AI-analyzed exploit summary This repository provides a tool to scan and update BCrypt password hashes affected by CVE-2022-22976, where a work factor of 31 causes the salt to be skipped. It includes a sample application and utilities to check and remediate vulnerable hashes in a database.
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.
Exploits (1)
This repository provides a tool to scan and update BCrypt password hashes affected by CVE-2022-22976, where a work factor of 31 causes the salt to be skipped. It includes a sample application and utilities to check and remediate vulnerable hashes in a database.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N