{"id":"CVE-2021-22119","aliases":["CVE-2021-22119","GHSA-w9jg-gvgr-354m"],"related":[],"kind":"vulnerability","state":"published","title":"Resource Exhaustion in Spring Security","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Spring Security versiones 5.5.x anteriores a 5.5.1, versiones 5.4.x anteriores a 5.4.7, versiones 5.3.x anteriores a 5.3.10 y versiones 5.2.x anteriores a 5.2.11 son susceptibles a un ataque de Denegación de Servicio (DoS) por medio de la iniciación de la Petición de Autorización en una Aplicación OAuth versión 2.0 Client Web y WebFlux. Un usuario o atacante malicioso puede enviar múltiples peticiones iniciando la Petición de Autorización para la Concesión del Código de Autorización, lo que tiene el potencial de agotar los recursos del sistema usando una sola sesión o múltiples sesiones","source":"nvd"}],"published":"2021-06-29T16:15:05.000Z","modified":"2026-06-17T03:36:39.027Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-863"],"affected":[{"ranges":[{"version":"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","status":"affected"}],"product":"Spring Security","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.5.0","status":"affected","fixed":"5.5.1"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.4.0","status":"affected","fixed":"5.4.7"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.10"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0","status":"affected","fixed":"5.2.11"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.5.0","status":"affected","fixed":"5.5.1"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.4.0","status":"affected","fixed":"5.4.7"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","fixed":"5.3.10"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0","status":"affected","fixed":"5.2.11"}],"ecosystem":"Maven","package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.2.0","fixed":"5.2.11"},{"status":"affected","introduced":"5.3.0","fixed":"5.3.10"},{"status":"affected","introduced":"5.4.0","fixed":"5.4.7"},{"status":"affected","introduced":"5.5.0","fixed":"5.5.1"}],"vendor":"vmware","product":"spring_security","cpe":"cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2021-22119","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc%40%3Cpluto-scm.portals.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad%40%3Cissues.nifi.apache.org%3E","tags":["mailing-list","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22119","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security/pull/9513","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-security","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r08a449010786e0bcffa4b5781b04fcb55d6eafa62cb79b8347680aad@%3Cissues.nifi.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r163b3e4e39803882f5be05ee8606b2b9812920e196daa2a82997ce14@%3Cpluto-dev.portals.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r3868207b967f926819fe3aa8d33f1666429be589bb4a62104a49f4e3@%3Cpluto-dev.portals.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r390783b3b1c59b978131ac08390bf77fbb3863270cbde59d5b0f5fde@%3Cpluto-dev.portals.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r89aa1b48a827f5641310305214547f1d6b2101971a49b624737c497f@%3Cpluto-dev.portals.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/ra53677224fe4f04c2599abc88032076faa18dc84b329cdeba85d4cfc@%3Cpluto-scm.portals.apache.org%3E","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-22119","url":"https://www.cve.org/CVERecord?id=CVE-2021-22119","licence":"CVE Terms of Use","modified":"2024-08-03T18:30:23.943Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w9jg-gvgr-354m","url":"https://github.com/advisories/GHSA-w9jg-gvgr-354m","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:54.193Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-22119","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22119","licence":"Public domain","modified":"2026-06-17T03:36:39.027Z"}],"updatedAt":"2026-11-25T22:58:02.375Z","epss":{"score":0.06001,"percentile":0.93481,"date":"2026-12-01T12:00:22.000Z"}}