GHSA-wx54-3278-m5g4

Integer overflow in BCrypt class in Spring Security

En bref

Publiée
Mise à jour
CVE
CVE-2022-22976
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

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.

Paquets affectés

PaquetVersions
Maven · org.springframework.security:spring-security-coreintroduced 5.2.0.RELEASE, fixed 5.5.7
Maven · org.springframework.security:spring-security-coreintroduced 5.6.0, fixed 5.6.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database