{"answers":{"affected":"12 open source packages ship an affected version, including org.springframework.security:spring-security-core and org.springframework.security:spring-security-web. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-22978 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.4.11, 5.5.7 or 5.6.4.","what":"CVE-2022-22978 is a critical authentication bypass vulnerability in Netapp Active Iq Unified Manager, published on 19 May 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-22978 and fix it if it is affected.\n\nWhat it is: CVE-2022-22978 is a critical authentication bypass vulnerability in Netapp Active Iq Unified Manager, published on 19 May 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-22978 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected all versions; fixed in 5.4.11\n- org.springframework.security:spring-security-core (Maven): affected all versions; fixed in 5.4.11\n- org.springframework.security:spring-security-core (Maven): affected from 5.5.0; fixed in 5.5.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.5.0; fixed in 5.5.7\n- org.springframework.security:spring-security-core (Maven): affected from 5.6.0; fixed in 5.6.4\n- org.springframework.security:spring-security-core (Maven): affected from 5.6.0; fixed in 5.6.4\n- org.springframework.security:spring-security-web (Maven): affected all versions; fixed in 5.4.11\n- org.springframework.security:spring-security-web (Maven): affected all versions; fixed in 5.4.11\n- org.springframework.security:spring-security-web (Maven): affected from 5.5.0; fixed in 5.5.7\n- org.springframework.security:spring-security-web (Maven): affected from 5.5.0; fixed in 5.5.7\n- org.springframework.security:spring-security-web (Maven): affected from 5.6.0; fixed in 5.6.4\n- org.springframework.security:spring-security-web (Maven): affected from 5.6.0; fixed in 5.6.4\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-22978/ (Markdown: https://insights.sbomify.com/CVE-2022-22978/index.md)","id":"CVE-2022-22978","markdown":"https://insights.sbomify.com/CVE-2022-22978/index.md","name":"CVE-2022-22978","record":{"aliases":["GHSA-hh32-7344-cg2f","ROOT-APP-MAVEN-CVE-2022-22978","UBUNTU-CVE-2022-22978"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Security library","requires_auth":"none","summary":"Attackers can bypass authorization checks in applications using Spring Security's RegexRequestMatcher with specific regex patterns.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"financial_services_crime_and_compliance_management_studio","vendor":"oracle"},{"product":"spring_security","vendor":"vmware"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","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-863","name":"Incorrect Authorization"}],"description":"In spring security versions prior to 5.4.11+, 5.5.7+ , 5.6.4+ and older unsupported versions, RegexRequestMatcher can easily be misconfigured to be bypassed on some servlet containers. Applications using RegexRequestMatcher with `.` in the regular expression are possibly vulnerable to an authorization bypass.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2022-05-31","github_poc":7,"max_poc_stars":15,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-05-31T03:14:55Z","kind":"github_poc","ref":"https://github.com/DeEpinGh0st/CVE-2022-22978","stars":15,"title":"CVE-2022-22978 Spring-Security bypass Demo"},{"date":"2022-06-04T16:57:18Z","kind":"github_poc","ref":"https://github.com/ducluongtran9121/CVE-2022-22978-PoC","stars":13,"title":"PoC of CVE-2022-22978 vulnerability in Spring Security framework"},{"date":"2022-07-13T12:38:26Z","kind":"github_poc","ref":"https://github.com/aeifkz/CVE-2022-22978","stars":5,"title":"CVE-2022-22978 POC Project"},{"date":"2023-03-01T06:21:56Z","kind":"github_poc","ref":"https://github.com/umakant76705/CVE-2022-22978","stars":2,"title":null},{"date":"2023-03-16T09:34:17Z","kind":"github_poc","ref":"https://github.com/Raghvendra1207/CVE-2022-22978","stars":0,"title":null},{"date":"2024-05-17T07:26:54Z","kind":"github_poc","ref":"https://github.com/wan9xx/CVE-2022-22978-demo","stars":0,"title":"CVE-2022-22978漏洞实例代码"},{"date":"2025-04-06T14:17:27Z","kind":"github_poc","ref":"https://github.com/he-ewo/CVE-2022-22978","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Authorization bypass in Spring Security","id":"CVE-2022-22978","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:active_iq_unified_manager","products":["netapp:active_iq_unified_manager"],"type":"auth_bypass","year":"2022"},"n_packages":12,"n_references":1,"next":{"headline":"Denial of Service in Spring Cloud Function","id":"CVE-2022-22979"},"packages":[{"ecosystem":"Maven","fixed":["5.4.11"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.4.11"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.4.11"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.4.11"],"introduced":["0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.5.7"],"introduced":["5.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":null,"source":"GHSA-hh32-7344-cg2f"},{"ecosystem":"Maven","fixed":["5.6.4"],"introduced":["5.6.0"],"last_affected":[],"package":"org.springframework.security:spring-security-web","purl":"pkg:maven/org.springframework.security/spring-security-web","source":"GHSA-hh32-7344-cg2f"}],"prev":{"headline":"XML external entity in VMware Tools for Windows","id":"CVE-2022-22977"},"products":["Spring Security"],"published":"2022-05-19","related":[{"cvss_score":9.8,"headline":"Spring Security authorization rules can be bypassed via forward or include dispatcher types","id":"CVE-2022-31692","kev_date_added":null,"published":"2022-10-31"},{"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can bypass authorization checks in applications using Spring Security's RegexRequestMatcher with specific regex patterns.","url":"https://insights.sbomify.com/CVE-2022-22978/"}