WaratekVRT Sign in

CVE-2022-22976 Spring Security

Affected softwareSpring Security
Severity5.3 Medium CVSS 3.1 2 scores
Fixed in5.5.7, 5.6.4
WeaknessInteger overflow (CWE-190)
Published19 May 2022
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 2.3% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC spring-io/cve-2022-22976-bcrypt-skips-salt 1 2022-05-10

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-projects/spring-security 388a7b6.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

5.3 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2023 ↗ CPU 2023-Q2 Oracle Financial Services Applications / Base (Spring Security) (14.4-14.7)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Financial Services Applications Base (Spring Security) 14.4-14.7

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-core 5.2.0.RELEASE 5.5.7 unbounded
org.springframework.security:spring-security-core 5.6.0 5.6.4 unbounded

Products and versions

4 products, 8 version entries
SourceVendorProductSchemeAffected versions
nvd netapp active iq unified manager generic any version
nvd oracle financial services crime and compliance management studio generic 8.0.8.2.0 · 8.0.8.3.0
osv org.springframework.security spring-security-core generic ≥ 5.2.0 and < 5.5.7 · ≥ 5.6.0 and < 5.6.4
nvd vmware spring security generic 5.2.0 · ≥ 5.2.1 and < 5.5.7 · ≥ 5.6.0 and < 5.6.4

References

URLTags
https://github.com/spring-projects/spring-security/commit/388a7b62b906bd56deadb7ca45248fa1a63bdf12 WEB
https://github.com/spring-projects/spring-security/commit/a40f73521c0dd88b879ff6165d280e78bdf8154f WEB
https://github.com/spring-projects/spring-security PACKAGE
https://security.netapp.com/advisory/ntap-20220707-0003 WEB
https://tanzu.vmware.com/security/cve-2022-22976 WEB
https://www.oracle.com/security-alerts/cpujul2022.html WEB
https://security.netapp.com/advisory/ntap-20220707-0003/ Third Party Advisory

Timeline

Published2022-05-19By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.