{"answers":{"affected":"16 open source packages ship an affected version, including org.springframework.security:spring-security-core and org.springframework.security:spring-security-oauth2-client. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-22119 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 5.2.11, 5.3.10, 5.4.7 or 5.5.1.","what":"CVE-2021-22119 is a high-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 29 Jun 2021."},"fix_prompt":"Check this codebase for CVE-2021-22119 and fix it if it is affected.\n\nWhat it is: CVE-2021-22119 is a high-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 29 Jun 2021. \nExploitation: There is no known exploitation of CVE-2021-22119 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected from 5.2.0; fixed in 5.2.11\n- org.springframework.security:spring-security-core (Maven): affected from 5.2.0; fixed in 5.2.11\n- org.springframework.security:spring-security-core (Maven): affected from 5.3.0; fixed in 5.3.10\n- org.springframework.security:spring-security-core (Maven): affected from 5.3.0; fixed in 5.3.10\n- org.springframework.security:spring-security-core (Maven): affected from 5.4.0; fixed in 5.4.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.4.0; fixed in 5.4.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.5.0; fixed in 5.5.1\n- org.springframework.security:spring-security-core (Maven): affected from 5.5.0; fixed in 5.5.1\n- org.springframework.security:spring-security-oauth2-client (Maven): affected from 5.2.0; fixed in 5.2.11\n- org.springframework.security:spring-security-oauth2-client (Maven): affected from 5.2.0; fixed in 5.2.11\n- org.springframework.security:spring-security-oauth2-client (Maven): affected from 5.3.0; fixed in 5.3.10\n- org.springframework.security:spring-security-oauth2-client (Maven): affected from 5.3.0; fixed in 5.3.10\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-22119/ (Markdown: https://insights.sbomify.com/CVE-2021-22119/index.md)","id":"CVE-2021-22119","markdown":"https://insights.sbomify.com/CVE-2021-22119/index.md","name":"CVE-2021-22119","record":{"aliases":["GHSA-w9jg-gvgr-354m"],"analysis":null,"analysis_generated_by":null,"assigner":"vmware","cpe":[{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2021-11-02","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-11-02T15:16:24Z","kind":"github_poc","ref":"https://github.com/mari6274/oauth-client-exploit","stars":1,"title":"Applications that reproduce CVE-2021-22119"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Resource Exhaustion in Spring Security","id":"CVE-2021-22119","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy"],"type":null,"year":"2021"},"n_packages":16,"n_references":9,"next":{"headline":"Cross-site scripting in Fortinet FortiWeb","id":"CVE-2021-22122"},"packages":[{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.3.10"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.3.10"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.5.1"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.5.1"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.3.10"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.3.10"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.5.1"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":null,"source":"GHSA-w9jg-gvgr-354m"},{"ecosystem":"Maven","fixed":["5.5.1"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-oauth2-client","purl":"pkg:maven/org.springframework.security/spring-security-oauth2-client","source":"GHSA-w9jg-gvgr-354m"}],"prev":{"headline":"Improper Privilege Management in Spring Framework","id":"CVE-2021-22118"},"products":["Spring Security"],"published":"2021-06-29","related":[{"cvss_score":7.5,"headline":"Denial of service in Outside In Technology","id":"CVE-2021-35574","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":7.3,"headline":"Prototype Pollution","id":"CVE-2021-23440","kev_date_added":null,"published":"2021-09-12"},{"cvss_score":6.5,"headline":"Directory Traversal with spring-cloud-config-server","id":"CVE-2019-3799","kev_date_added":null,"published":"2019-05-06"},{"cvss_score":5.9,"headline":"Observable Timing Discrepancy in aaugustin websockets library","id":"CVE-2021-33880","kev_date_added":null,"published":"2021-06-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2021-22119/"}