cve.bz

CVE-2021-22119 Incorrect Authorization

7.5 highEPSS 6.0%Fix available

High (7.5). EPSS 6.0% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework.security:spring-security-core 5.2.11, 5.3.10, 5.4.7.

On this page
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.

Severity

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
EPSS
6.0% (unchanged from 6.0% a week ago; 6.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-863 Incorrect Authorization
CWE-400 Uncontrolled Resource Consumption
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-22119 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-22119?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-22119?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-22119 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:spring_securityfrom 5.2.0 before 5.2.11
vmware:spring_securityfrom 5.3.0 before 5.3.10
vmware:spring_securityfrom 5.4.0 before 5.4.7
vmware:spring_securityfrom 5.5.0 before 5.5.1
oracle:communications_cloud_native_core_policy1.14.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-core>=5.5.0 <5.5.15.5.1
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-core>=5.4.0 <5.4.75.4.7
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-core>=5.3.0 <5.3.105.3.10
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-core>=5.2.0 <5.2.115.2.11
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-oauth2-client>=5.5.0 <5.5.15.5.1
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-oauth2-client>=5.4.0 <5.4.75.4.7
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-oauth2-client>=5.3.0 <5.3.105.3.10
GHSA-w9jg-gvgr-354mMavenorg.springframework.security:spring-security-oauth2-client>=5.2.0 <5.2.115.2.11

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Fuse 7.11spring-security-oauth2-clientFixed 2022-07-07RHSA-2022:5532
Red Hat Decision Manager 7spring-security-coreNot affected
Red Hat JBoss Fuse 6spring-security-oauth2-clientOut of support scope
Red Hat JBoss Fuse Service Works 6spring-security-coreOut of support scope
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
Red Hat Process Automation 7spring-security-coreNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-22119.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON