Uncontrolled resource consumption in Spring Security
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service, Security bypass
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400 and CWE-863.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Spring Security | 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 | — | No fix listed | CNA |
| — | org.springframework.security:spring-security-core (Maven) | 5.5.0 to before 5.5.1 | 5.5.1 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-core (Maven) | 5.4.0 to before 5.4.7 | 5.4.7 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-core (Maven) | 5.3.0 to before 5.3.10 | 5.3.10 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-core (Maven) | 5.2.0 to before 5.2.11 | 5.2.11 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-oauth2-client (Maven) | 5.5.0 to before 5.5.1 | 5.5.1 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-oauth2-client (Maven) | 5.4.0 to before 5.4.7 | 5.4.7 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-oauth2-client (Maven) | 5.3.0 to before 5.3.10 | 5.3.10 | Patch available | GHSA-w9jg-gvgr-354m |
| — | org.springframework.security:spring-security-oauth2-client (Maven) | 5.2.0 to before 5.2.11 | 5.2.11 | Patch available | GHSA-w9jg-gvgr-354m |
- Spring Security Vendor— Affected 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 Fixed in — No fix listed CNA
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 5.5.0 to before 5.5.1 Fixed in 5.5.1 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 5.4.0 to before 5.4.7 Fixed in 5.4.7 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 5.3.0 to before 5.3.10 Fixed in 5.3.10 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 5.2.0 to before 5.2.11 Fixed in 5.2.11 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-oauth2-client (Maven) Vendor— Affected 5.5.0 to before 5.5.1 Fixed in 5.5.1 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-oauth2-client (Maven) Vendor— Affected 5.4.0 to before 5.4.7 Fixed in 5.4.7 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-oauth2-client (Maven) Vendor— Affected 5.3.0 to before 5.3.10 Fixed in 5.3.10 Patch available GHSA-w9jg-gvgr-354m
- org.springframework.security:spring-security-oauth2-client (Maven) Vendor— Affected 5.2.0 to before 5.2.11 Fixed in 5.2.11 Patch available GHSA-w9jg-gvgr-354m
CPE configurations NVD · 2
Remediation
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-core (Maven) Fixed in 5.5.1 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-core (Maven) Fixed in 5.4.7 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-core (Maven) Fixed in 5.3.10 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-core (Maven) Fixed in 5.2.11 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-oauth2-client (Maven) Fixed in 5.5.1 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-oauth2-client (Maven) Fixed in 5.4.7 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-oauth2-client (Maven) Fixed in 5.3.10 Advisory →
- Fix · GHSA-w9jg-gvgr-354m org.springframework.security:spring-security-oauth2-client (Maven) Fixed in 5.2.11 Advisory →
Red Hat 1 advisory
- RHSA-2022:5532 Released 2022-07-07 · Red Hat rating ImportantRed Hat Fuse 7.11.0 release and security update
- Red Hat Fuse 7.11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7.11 | Fixed | RHSA-2022:5532 |
Not affected: 2 products
- Red Hat Decision Manager 7
- Red Hat Process Automation 7
Timeline
- 2026-10-02 Threatist record created from CVE-2021-22119
- 2026-10-03 Alias added: GHSA-w9jg-gvgr-354m
References
Advisory 2
Other 15
- [portals-pluto-dev] 20210714 [jira] [Updated] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119
- [portals-pluto-dev] 20210714 [jira] [Reopened] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119
- [portals-pluto-dev] 20210714 [jira] [Closed] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119
- [portals-pluto-dev] 20210714 [jira] [Comment Edited] (PLUTO-786) Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119
- [portals-pluto-scm] 20210714 [portals-pluto] branch master updated: PLUTO-786 Upgrade to version Spring Framework 5.3.7 and Spring Security 5.5.1 due to CVE-2021-22112 and CVE-2021-22119
- [nifi-issues] 20210726 [jira] [Created] (NIFI-8948) Upgrade Spring Framework to 5.3.9 and Spring Security to 5.5.1
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/spring-projects/spring-security/pull/9513
- https://github.com/spring-projects/spring-security
- https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad@%3Cissues.nifi.apache.org%3E
- https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E
Sources
- CVE-2021-22119 · CVE Program
- CVE-2021-22119 · NVD
- FIRST EPSS
- GHSA-w9jg-gvgr-354m · GitHub Advisory Database · CC BY 4.0
- CVE-2021-22119 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences