{"id":"CVE-2021-22119","published":"2021-06-29T16:15:05Z","modified":"2024-08-03T18:30:23Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06001,"percentile":0.93499,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2021-22119","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-11-02","earliestUrl":"https://github.com/mari6274/oauth-client-exploit","repos":[{"name":"mari6274/oauth-client-exploit","url":"https://github.com/mari6274/oauth-client-exploit","stars":1,"created":"2021-11-02"}]},"first":{"date":"2021-11-02","source":"PoC-in-GitHub","url":"https://github.com/mari6274/oauth-client-exploit"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Spring Security","versions":["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"]}],"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":[">=5.5.0, <5.5.1",">=5.4.0, <5.4.7",">=5.3.0, <5.3.10",">=5.2.0, <5.2.11"],"patched":["5.5.1","5.4.7","5.3.10","5.2.11"],"from":["GHSA-w9jg-gvgr-354m"],"provenance":"source"},{"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","vulnerableRanges":[">=5.5.0, <5.5.1",">=5.4.0, <5.4.7",">=5.3.0, <5.3.10",">=5.2.0, <5.2.11"],"patched":["5.5.1","5.4.7","5.3.10","5.2.11"],"from":["GHSA-w9jg-gvgr-354m"],"provenance":"source"}],"summary":{"text":"The flaw is a resource exhaustion weakness in Spring Security's OAuth 2.0 Client support for web and WebFlux applications, specifically in the handling of Authorization Request initiation for the Authorization Code Grant, affecting the 5.2.x through 5.5.x release lines before their respective fixed versions. An attacker who can reach the affected application can repeatedly send Authorization Request initiations, using one or more sessions, to exhaust system resources and cause a denial of service, with no authentication or user interaction indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:14Z"},"euvd":{"id":"EUVD-2021-1497","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-3795","published":"2019-04-09","fixed":"5.1.5","kev":false},{"cve":"CVE-2020-5407","published":"2020-05-13","fixed":"5.3.2","kev":false},{"cve":"CVE-2020-5408","published":"2020-05-14","fixed":"5.3.2","kev":false,"link":{"from":"CVE-2020-5408","to":"CVE-2021-22119","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.3.2","toFixed":"5.3.10","daysApart":411}]}},{"cve":"CVE-2021-22119","published":"2021-06-29","fixed":"5.5.1","kev":false},{"cve":"CVE-2022-22976","published":"2022-05-19","fixed":"5.6.4","kev":false,"link":{"from":"CVE-2021-22119","to":"CVE-2022-22976","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.5.1","toFixed":"5.5.7","daysApart":324}]}},{"cve":"CVE-2022-22978","published":"2022-05-19","fixed":"5.6.4","kev":false,"link":{"from":"CVE-2021-22119","to":"CVE-2022-22978","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.5.1","toFixed":"5.5.7","daysApart":324}]}},{"cve":"CVE-2022-31692","published":"2022-10-31","fixed":"5.7.5","kev":false}],"package":"Maven:org.springframework.security:spring-security-core"}}