{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework:spring and org.springframework:spring-webmvc. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-20860 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring to a fixed version for your release line: 5.3.26 or 6.0.7.","what":"CVE-2023-20860 is a high-severity vulnerability in Vmware Spring Framework, published on 27 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-20860 and fix it if it is affected.\n\nWhat it is: CVE-2023-20860 is a high-severity vulnerability in Vmware Spring Framework, published on 27 Mar 2023. 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-2023-20860 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring (Maven): affected from 5.3.0; fixed in 5.3.26\n- org.springframework:spring (Maven): affected from 5.3.0; fixed in 5.3.26\n- org.springframework:spring (Maven): affected from 6.0.0; fixed in 6.0.7\n- org.springframework:spring (Maven): affected from 6.0.0; fixed in 6.0.7\n- org.springframework:spring-webmvc (Maven): affected from 5.3.0; fixed in 5.3.26\n- org.springframework:spring-webmvc (Maven): affected from 5.3.0; fixed in 5.3.26\n- org.springframework:spring-webmvc (Maven): affected from 6.0.0; fixed in 6.0.7\n- org.springframework:spring-webmvc (Maven): affected from 6.0.0; fixed in 6.0.7\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-2023-20860/ (Markdown: https://insights.sbomify.com/CVE-2023-20860/index.md)","id":"CVE-2023-20860","markdown":"https://insights.sbomify.com/CVE-2023-20860/index.md","name":"CVE-2023-20860","record":{"aliases":["DEBIAN-CVE-2023-20860","GHSA-7phw-cxx7-q9vq","RHLW-2026-6b59708c7adb9eb8","ROOT-APP-MAVEN-CVE-2023-20860","UBUNTU-CVE-2023-20860"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can bypass Spring Security authorization checks due to pattern matching mismatches when using specific wildcard configurations.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[],"description":"Spring Framework running version 6.0.0 - 6.0.6 or 5.3.0 - 5.3.25 using \"**\" as a pattern in Spring Security configuration with the mvcRequestMatcher creates a mismatch in pattern matching between Spring Security and Spring MVC, and the potential for a security bypass.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2023-03-24","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-03-24T07:23:52Z","kind":"github_poc","ref":"https://github.com/limo520/CVE-2023-20860","stars":2,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch","id":"CVE-2023-20860","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"vmware:spring_framework","products":["vmware:spring_framework"],"type":"security_feature_bypass","year":"2023"},"n_packages":8,"n_references":2,"next":{"headline":"Spring Framework vulnerable to denial of service via specially crafted SpEL expression","id":"CVE-2023-20861"},"packages":[{"ecosystem":"Maven","fixed":["5.3.26"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring","purl":null,"source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["5.3.26"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring","purl":"pkg:maven/org.springframework/spring","source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework:spring","purl":null,"source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework:spring","purl":"pkg:maven/org.springframework/spring","source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["5.3.26"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["5.3.26"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-7phw-cxx7-q9vq"},{"ecosystem":"Maven","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-7phw-cxx7-q9vq"}],"prev":{"headline":"Spring Vault vulnerable to insertion of sensitive information into a log file","id":"CVE-2023-20859"},"products":["Spring Framework"],"published":"2023-03-27","related":[{"cvss_score":9.8,"headline":"Spring Framework Improper Path Limitation in XsltView","id":"CVE-2026-47884","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Server Sent Event stream corruption while rendering fragments","id":"CVE-2026-47890","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder","id":"CVE-2026-47891","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints","id":"CVE-2026-47892","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Server Sent Event stream corruption in Spring MVC functional web framework","id":"CVE-2026-59313","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":9.8,"headline":"Pivotal Spring Framework contains unsafe Java deserialization methods","id":"CVE-2016-1000027","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":9.1,"headline":"Spring Framework Safety Guard Bypass via SpEL Expression Compilation","id":"CVE-2026-59283","kev_date_added":null,"published":"2026-08-27"}],"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":"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-02-19","vendors":["n/a"]},"summary":"Attackers can bypass Spring Security authorization checks due to pattern matching mismatches when using specific wildcard configurations.","url":"https://insights.sbomify.com/CVE-2023-20860/"}