WaratekVRT Sign in

CVE-2021-22119 Spring Security

Affected softwareSpring Security
Severity7.5 High CVSS 3.1 2 scores
Fixed in5.5.1, 5.4.7, 5.3.10, 5.2.11
WeaknessIncorrect authorization (CWE-863)
Published29 Jun 2021
Updated17 Jun 2026

Description

Spring Security versions 5.5.x prior to 5.5.1, 5.4.x prior to 5.4.7, 5.3.x prior to 5.3.10 and 5.2.x prior to 5.2.11 are susceptible to a Denial-of-Service (DoS) attack via the initiation of the Authorization Request in an OAuth 2.0 Client Web and WebFlux application. A malicious user or attacker can send multiple requests initiating the Authorization Request for the Authorization Code Grant, which has the potential of exhausting system resources using a single session or multiple sessions.

CWE-400 · Uncontrolled resource consumption

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 6.0% 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 Applications that reproduce CVE-2021-22119 1 2021-11-02

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 #9513.

  • 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

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 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 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2022 ↗ CPU 2022-Q3 Oracle Communications / NRF (Spring Security) (22.1.2, 22.2.0)
Oracle MySQL / Monitoring: General (Spring Security) (8.0.25 and prior)
Oracle Critical Patch Update January 2022 ↗ CPU 2022-Q1 Oracle Communications / Policy (Spring Security) (1.14.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Communications NRF (Spring Security) 22.1.2, 22.2.0 22.1.2 · 22.2.0
Oracle Communications Policy (Spring Security) 1.14.0 1.14.0
Oracle MySQL Monitoring: General (Spring Security) 8.0.25 and prior

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.security:spring-security-core 5.5.0 5.5.1 unbounded
org.springframework.security:spring-security-core 5.4.0 5.4.7 unbounded
org.springframework.security:spring-security-core 5.3.0 5.3.10 unbounded
org.springframework.security:spring-security-core 5.2.0 5.2.11 unbounded
org.springframework.security:spring-security-oauth2-client 5.5.0 5.5.1 unbounded
org.springframework.security:spring-security-oauth2-client 5.4.0 5.4.7 unbounded
org.springframework.security:spring-security-oauth2-client 5.3.0 5.3.10 unbounded
org.springframework.security:spring-security-oauth2-client 5.2.0 5.2.11 unbounded

Products and versions

4 products, 13 version entries
SourceVendorProductSchemeAffected versions
nvd oracle communications cloud native core policy generic 1.14.0
osv org.springframework.security spring-security-core generic ≥ 5.2.0 and < 5.2.11 · ≥ 5.3.0 and < 5.3.10 · ≥ 5.4.0 and < 5.4.7 · ≥ 5.5.0 and < 5.5.1
osv org.springframework.security spring-security-oauth2-client generic ≥ 5.2.0 and < 5.2.11 · ≥ 5.3.0 and < 5.3.10 · ≥ 5.4.0 and < 5.4.7 · ≥ 5.5.0 and < 5.5.1
nvd vmware spring security generic ≥ 5.2.0 and < 5.2.11 · ≥ 5.3.0 and < 5.3.10 · ≥ 5.4.0 and < 5.4.7 · ≥ 5.5.0 and < 5.5.1

References

URLTags
https://github.com/spring-projects/spring-security/pull/9513 WEB
https://github.com/spring-projects/spring-security PACKAGE
https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad@%3Cissues.nifi.apache.org%3E WEB
https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E WEB
https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E WEB
https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E WEB
https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E WEB
https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E WEB
https://tanzu.vmware.com/security/cve-2021-22119 WEB
https://www.oracle.com/security-alerts/cpujan2022.html WEB

Timeline

Published2021-06-29By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.