Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22119
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:52 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-22119
Complete source record
{
"id": "42ebb2781b7a4fd78c4b545403d7509b51ea75f6e894cb958a28f66af8db02a8",
"url": "https://osv.dev/vulnerability/CVE-2021-22119",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22119",
"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.",
"evidence": "osv:CVE-2021-22119",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-22119",
"aliases": [
"CVE-2021-22119",
"GHSA-w9jg-gvgr-354m"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-security",
"type": "GIT",
"events": [
{
"introduced": "b7d97ca077ef92a2eb750b56f7b2415e1e02ea01"
},
{
"fixed": "560fb35dc56104f6db0a4c60220af1d69afef039"
},
{
"introduced": "747d8817cbadc307f7407c26fc88b2ff63c37149"
},
{
"fixed": "01c1c192d1cc893e24b8bbb082d62634ef15d7f1"
},
{
"introduced": "651c94b3859eb6c3eee4ee632b1419e59d99d8dd"
},
{
"fixed": "73e6ef2aceb15b4bb8cc1c49315deffb4ee20f92"
},
{
"introduced": "abd100122e54fa07c8b11c78808e56ba96521fa2"
},
{
"fixed": "e41360b4a364744dbbf1afe25840cee26d466b37"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.11"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.3.0"
},
{
"fixed": "5.3.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.4.0"
},
{
"fixed": "5.4.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.5.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"5.5.0",
"5.3.9.RELEASE",
"5.4.6",
"5.2.10.RELEASE",
"5.4.5",
"5.4.4",
"5.4.3",
"5.3.8.RELEASE",
"5.2.9.RELEASE",
"5.3.7.RELEASE",
"5.4.2",
"5.3.6.RELEASE",
"5.2.8.RELEASE",
"5.4.1",
"5.3.5.RELEASE",
"5.2.7.RELEASE",
"5.4.0",
"5.3.4.RELEASE",
"5.2.6.RELEASE",
"5.3.3.RELEASE",
"5.2.5.RELEASE",
"5.2.4.RELEASE",
"5.3.2.RELEASE",
"5.2.3.RELEASE",
"5.3.1.RELEASE",
"5.3.0.RELEASE",
"5.2.2.RELEASE",
"5.2.0.RELEASE"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22119.json"
}
}
],
"modified": "2026-10-24T10:30:59.558711237Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3E",
"https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E",
"https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E",
"https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E",
"https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E",
"https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E",
"https://www.oracle.com/security-alerts/cpujul2022.html",
"https://tanzu.vmware.com/security/cve-2021-22119",
"https://www.oracle.com/security-alerts/cpujan2022.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_policy",
"extracted_events": [
{
"range": [
{
"introduced": "1.14.0"
},
{
"last_affected": "1.14.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-22119",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439346,
"published_at": "2021-06-29T17:15:08.143+00:00"
}