{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework:spring-webmvc. It affects 2 products.","exploited":"There is no known exploitation of CVE-2016-9878 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-webmvc to a fixed version for your release line: 3.2.18, 4.2.9 or 4.3.5.","what":"CVE-2016-9878 is a high-severity path traversal vulnerability in Vmware Spring Framework, published on 29 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-9878 and fix it if it is affected.\n\nWhat it is: CVE-2016-9878 is a high-severity path traversal vulnerability in Vmware Spring Framework, published on 29 Dec 2016. 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-2016-9878 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webmvc (Maven): affected all versions; fixed in 3.2.18\n- org.springframework:spring-webmvc (Maven): affected all versions; fixed in 3.2.18\n- org.springframework:spring-webmvc (Maven): affected from 4.2.0; fixed in 4.2.9\n- org.springframework:spring-webmvc (Maven): affected from 4.2.0; fixed in 4.2.9\n- org.springframework:spring-webmvc (Maven): affected from 4.3.0; fixed in 4.3.5\n- org.springframework:spring-webmvc (Maven): affected from 4.3.0; fixed in 4.3.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-2016-9878/ (Markdown: https://insights.sbomify.com/CVE-2016-9878/index.md)","id":"CVE-2016-9878","markdown":"https://insights.sbomify.com/CVE-2016-9878/index.md","name":"CVE-2016-9878","record":{"aliases":["DEBIAN-CVE-2016-9878","GHSA-2m8h-fgr8-2q9w","UBUNTU-CVE-2016-9878"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can exploit unsanitized paths in ResourceServlet to perform directory traversal and read arbitrary files from the server.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"spring_framework","vendor":"pivotal_software"},{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An issue was discovered in Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5. Paths provided to the ResourceServlet were not properly sanitized and as a result exposed to directory traversal attacks.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized","id":"CVE-2016-9878","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"vmware:spring_framework","products":["vmware:spring_framework"],"type":"path_traversal","year":"2016"},"n_packages":6,"n_references":10,"next":{"headline":"Security Constraint Bypass in Spring Security","id":"CVE-2016-9879"},"packages":[{"ecosystem":"Maven","fixed":["3.2.18"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-2m8h-fgr8-2q9w"},{"ecosystem":"Maven","fixed":["3.2.18"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-2m8h-fgr8-2q9w"},{"ecosystem":"Maven","fixed":["4.2.9"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-2m8h-fgr8-2q9w"},{"ecosystem":"Maven","fixed":["4.2.9"],"introduced":["4.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-2m8h-fgr8-2q9w"},{"ecosystem":"Maven","fixed":["4.3.5"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-2m8h-fgr8-2q9w"},{"ecosystem":"Maven","fixed":["4.3.5"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-2m8h-fgr8-2q9w"}],"prev":{"headline":"Auth bypass in Pivotal RabbitMQ 3.x before 3.5.8 and 3.6.x before 3.6.6; RabbitMQ for PCF 1.5.x before 1.5.20, 1.6.x before 1.6.12 and 1.7.x before 1.7.7","id":"CVE-2016-9877"},"products":["Pivotal Spring Framework before 3.2.18, 4.2.x before 4.2.9, and 4.3.x before 4.3.5"],"published":"2016-12-29","related":[{"cvss_score":8.8,"headline":"Improper Restriction of XML External Entity Reference in Spring Framework","id":"CVE-2014-0225","kev_date_added":null,"published":"2017-05-25"},{"cvss_score":7.5,"headline":"Spring Security and Spring Framework may not recognize certain paths that should be protected","id":"CVE-2016-5007","kev_date_added":null,"published":"2017-05-25"},{"cvss_score":6.8,"headline":"Cross-Site Request Forgery in Spring Framework","id":"CVE-2013-6429","kev_date_added":null,"published":"2014-01-26"},{"cvss_score":5.4,"headline":"Improper Neutralization of Input During Web Page Generation in Spring Framework","id":"CVE-2013-6430","kev_date_added":null,"published":"2020-01-10"},{"cvss_score":5,"headline":"Moderate severity vulnerability that affects org.springframework:spring-core","id":"CVE-2015-0201","kev_date_added":null,"published":"2015-03-10"},{"cvss_score":5,"headline":"Improper Limitation of a Pathname to a Restricted Directory in Spring Framework","id":"CVE-2014-3578","kev_date_added":null,"published":"2015-02-19"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can exploit unsanitized paths in ResourceServlet to perform directory traversal and read arbitrary files from the server.","url":"https://insights.sbomify.com/CVE-2016-9878/"}