{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.security:spring-security-core. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-31692 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.6.9 or 5.7.5.","what":"CVE-2022-31692 is a critical missing authorization vulnerability in Netapp Active Iq Unified Manager, published on 31 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31692 and fix it if it is affected.\n\nWhat it is: CVE-2022-31692 is a critical missing authorization vulnerability in Netapp Active Iq Unified Manager, published on 31 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31692 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.6.0; fixed in 5.6.9\n- org.springframework.security:spring-security-core (Maven): affected from 5.6.0; fixed in 5.6.9\n- org.springframework.security:spring-security-core (Maven): affected from 5.7.0; fixed in 5.7.5\n- org.springframework.security:spring-security-core (Maven): affected from 5.7.0; fixed in 5.7.5\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-2022-31692/ (Markdown: https://insights.sbomify.com/CVE-2022-31692/index.md)","id":"CVE-2022-31692","markdown":"https://insights.sbomify.com/CVE-2022-31692/index.md","name":"CVE-2022-31692","record":{"aliases":["GHSA-mmmh-wcxm-2wr4","ROOT-APP-MAVEN-CVE-2022-31692","UBUNTU-CVE-2022-31692"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Security library","requires_auth":"none","summary":"Attackers can bypass authorization rules via forward or include dispatcher types in Spring Security applications configured to filter all dispatcher types.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2022-11-03","github_poc":2,"max_poc_stars":35,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-11-03T08:35:20Z","kind":"github_poc","ref":"https://github.com/blipzip/cve-2022-31692","stars":35,"title":"A project demonstrating an app that is vulnerable to Spring Security authorization bypass CVE-2022-31692"},{"date":"2023-10-29T17:31:23Z","kind":"github_poc","ref":"https://github.com/hotblac/cve-2022-31692","stars":0,"title":"Demonstration of CVE-2022-31692 authorization bypass in Spring Security"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Security authorization rules can be bypassed via forward or include dispatcher types","id":"CVE-2022-31692","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager"],"type":"missing_authorization","year":"2022"},"n_packages":4,"n_references":2,"next":{"headline":"Denial of service in n/a","id":"CVE-2022-31693"},"packages":[{"ecosystem":"Maven","fixed":["5.6.9"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-mmmh-wcxm-2wr4"},{"ecosystem":"Maven","fixed":["5.6.9"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-mmmh-wcxm-2wr4"},{"ecosystem":"Maven","fixed":["5.7.5"],"introduced":["5.7.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-mmmh-wcxm-2wr4"},{"ecosystem":"Maven","fixed":["5.7.5"],"introduced":["5.7.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-mmmh-wcxm-2wr4"}],"prev":{"headline":"Code injection in Spring by VMware","id":"CVE-2022-31691"},"products":["Spring by VMware"],"published":"2022-10-31","related":[{"cvss_score":9.8,"headline":"Use after free in systemd-resolved","id":"CVE-2022-2526","kev_date_added":null,"published":"2022-09-09"},{"cvss_score":9.8,"headline":"Authorization bypass in Spring Security","id":"CVE-2022-22978","kev_date_added":null,"published":"2022-05-19"},{"cvss_score":9.8,"headline":"Code injection in Node","id":"CVE-2021-22931","kev_date_added":null,"published":"2021-08-16"},{"cvss_score":9,"headline":"Code injection in Java","id":"CVE-2018-2938","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2941","kev_date_added":null,"published":"2018-07-18"},{"cvss_score":8.3,"headline":"Code injection in Java","id":"CVE-2018-2942","kev_date_added":null,"published":"2018-07-18"}],"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-06","vendors":["n/a"]},"summary":"Attackers can bypass authorization rules via forward or include dispatcher types in Spring Security applications configured to filter all dispatcher types.","url":"https://insights.sbomify.com/CVE-2022-31692/"}