{"answers":{"affected":"2 open source packages ship an affected version, including org.springframework.security:spring-security-core.","exploited":"There is no known exploitation of CVE-2025-22223 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to 6.4.4 or later.","what":"CVE-2025-22223 is a medium-severity missing authorization vulnerability in Spring Security, published on 24 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-22223 and fix it if it is affected.\n\nWhat it is: CVE-2025-22223 is a medium-severity missing authorization vulnerability in Spring Security, published on 24 Mar 2025. 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-2025-22223 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected from 6.4.0; fixed in 6.4.4\n- org.springframework.security:spring-security-core (Maven): affected from 6.4.0; fixed in 6.4.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-2025-22223/ (Markdown: https://insights.sbomify.com/CVE-2025-22223/index.md)","id":"CVE-2025-22223","markdown":"https://insights.sbomify.com/CVE-2025-22223/index.md","name":"CVE-2025-22223","record":{"aliases":["CLEANSTART-2026-MT60008","GHSA-hh3m-g4qj-4835","MINI-4hv9-68x6-2x4g","MINI-vfrm-qwf2-gq3m"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java security library","requires_auth":"none","summary":"Attackers can bypass method security checks on parameterized types in Spring Security, potentially accessing protected functionality without authorization.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass. \n\nYou are not affected if you are not using @EnableMethodSecurity, or\nyou do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-04-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-03T07:30:31Z","kind":"github_poc","ref":"https://github.com/1ucky7/cve-2025-22223-demo-1.0.0","stars":0,"title":"cve-2025-22223 漏洞复现"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Security Vulnerable to Authorization Bypass via Security Annotations","id":"CVE-2025-22223","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"VMware ESXi and Workstation TOCTOU Race Condition","id":"CVE-2025-22224"},"packages":[{"ecosystem":"Maven","fixed":["6.4.4"],"introduced":["6.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-hh3m-g4qj-4835"},{"ecosystem":"Maven","fixed":["6.4.4"],"introduced":["6.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-hh3m-g4qj-4835"}],"prev":{"headline":"VMware Aria Operations information disclosure vulnerability (CVE-2025-22222)","id":"CVE-2025-22222"},"products":["Spring Security"],"published":"2025-03-24","related":[],"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":"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":"partial"},"state":"PUBLISHED","updated":"2025-03-24","vendors":["Spring"]},"summary":"Attackers can bypass method security checks on parameterized types in Spring Security, potentially accessing protected functionality without authorization.","url":"https://insights.sbomify.com/CVE-2025-22223/"}