{"schemaVersion":3,"id":"CVE-2016-9878","aliases":["UBUNTU-CVE-2016-9878","DEBIAN-CVE-2016-9878","GHSA-2m8h-fgr8-2q9w"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2016-12-29T09:02:00.000Z","modified":"2024-08-06T03:07:30.827Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.05748,"percentile":0.92991,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.05748},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05748,"percentile":0.92991}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05214,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05748,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05748,"percentile":0.92991}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"libspring-java","name":"libspring-java","label":"libspring-java","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libspring-java","purlType":"deb","versions":[{"text":"< 4.3.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.3.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libspring-java","name":"libspring-java","label":"libspring-java","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libspring-java","purlType":"deb","versions":[{"text":"< 3.0.6.RELEASE-13ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.2.13-5ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.6.RELEASE-13ubuntu0.1~esm1 | < 3.2.13-5ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"org.springframework","product":"spring-webmvc","name":"org.springframework:spring-webmvc","label":"spring-webmvc","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.springframework/spring-webmvc","purlType":"maven","versions":[{"text":"< 3.2.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.2.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.3.0, < 4.3.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.2.18 | ≥ 4.2.0, < 4.2.9 | ≥ 4.3.0, < 4.3.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"purl","cycle":null,"product":{"name":"spring-framework","label":"Spring Framework","category":"framework"}},"hubHref":null},{"vendor":"pivotal_software","product":"spring_framework","name":"spring framework","label":"spring_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.2.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0","noFixRecorded":false,"fixedIn":null},{"text":"4.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.2.0 | 4.2.0 | 4.3.0","eol":null,"hubHref":"/vendor/pivotal_software/spring_framework"},{"vendor":"vmware","product":"spring_framework","name":"Spring Framework","label":"spring_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.2.1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.2","noFixRecorded":false,"fixedIn":null},{"text":"3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"3.2.4","noFixRecorded":false,"fixedIn":null},{"text":"3.2.5","noFixRecorded":false,"fixedIn":null},{"text":"3.2.6","noFixRecorded":false,"fixedIn":null},{"text":"3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"3.2.8","noFixRecorded":false,"fixedIn":null},{"text":"3.2.9","noFixRecorded":false,"fixedIn":null},{"text":"3.2.10","noFixRecorded":false,"fixedIn":null},{"text":"3.2.11","noFixRecorded":false,"fixedIn":null},{"text":"3.2.12","noFixRecorded":false,"fixedIn":null},{"text":"3.2.13","noFixRecorded":false,"fixedIn":null},{"text":"3.2.14","noFixRecorded":false,"fixedIn":null},{"text":"3.2.15","noFixRecorded":false,"fixedIn":null},{"text":"3.2.16","noFixRecorded":false,"fixedIn":null},{"text":"3.2.17","noFixRecorded":false,"fixedIn":null},{"text":"4.2.1","noFixRecorded":false,"fixedIn":null},{"text":"4.2.2","noFixRecorded":false,"fixedIn":null},{"text":"4.2.3","noFixRecorded":false,"fixedIn":null},{"text":"4.2.4","noFixRecorded":false,"fixedIn":null},{"text":"4.2.5","noFixRecorded":false,"fixedIn":null},{"text":"4.2.6","noFixRecorded":false,"fixedIn":null},{"text":"4.2.7","noFixRecorded":false,"fixedIn":null},{"text":"4.2.8","noFixRecorded":false,"fixedIn":null},{"text":"4.3.1","noFixRecorded":false,"fixedIn":null},{"text":"4.3.2","noFixRecorded":false,"fixedIn":null},{"text":"4.3.3","noFixRecorded":false,"fixedIn":null},{"text":"4.3.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.2.1 | 3.2.2 | 3.2.3 | 3.2.4 | 3.2.5 | 3.2.6 | 3.2.7 | 3.2.8 | 3.2.9 | 3.2.10 | 3.2.11 | 3.2.12 | 3.2.13 | 3.2.14 | 3.2.15 | 3.2.16 | 3.2.17 | 4.2.1 | 4.2.2 | 4.2.3 | 4.2.4 | 4.2.5 | 4.2.6 | 4.2.7 | 4.2.8 | 4.3.1 | 4.3.2 | 4.3.3 | 4.3.4","eol":null,"hubHref":"/vendor/vmware/spring_framework"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securitytracker.com/id/1040698","label":"www.securitytracker.com/id/1040698","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","label":"www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","label":"www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20180419-0002/","label":"security.netapp.com/advisory/ntap-20180419-0002/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM"]},{"url":"https://pivotal.io/security/cve-2016-9878","label":"pivotal.io/security/cve-2016-9878","hostname":"pivotal.io","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT","WEB"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","label":"www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","hostname":"www.oracle.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.securityfocus.com/bid/95072","label":"www.securityfocus.com/bid/95072","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3115","label":"access.redhat.com/errata/RHSA-2017:3115","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00012.html","label":"lists.debian.org/debian-lts-announce/2019/07/msg00012.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","label":"www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB"]},{"url":"https://ubuntu.com/security/CVE-2016-9878","label":"ubuntu.com/security/CVE-2016-9878","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://jira.spring.io/browse/SPR-14946","label":"jira.spring.io/browse/SPR-14946","hostname":"jira.spring.io","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-9878","label":"www.cve.org/CVERecord?id=CVE-2016-9878","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4774-1","label":"ubuntu.com/security/notices/USN-4774-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-9878","label":"security-tracker.debian.org/tracker/CVE-2016-9878","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-9878","label":"nvd.nist.gov/vuln/detail/CVE-2016-9878","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/spring-projects/spring-framework/issues/19513","label":"github.com/spring-projects/spring-framework/issues/19513","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98","label":"github.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0","label":"github.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad","label":"github.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-2m8h-fgr8-2q9w","label":"github.com/advisories/GHSA-2m8h-fgr8-2q9w","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/spring-projects/spring-framework","label":"github.com/spring-projects/spring-framework","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20180419-0002","label":"security.netapp.com/advisory/ntap-20180419-0002","hostname":"security.netapp.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-1853-1","USN-4774-1"],"duplicates":[],"related":["USN-4774-1"]},"timeline":[{"kind":"published","date":"2016-12-29T09:02:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T03:07:30.827Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:13:53.956Z","stale":false,"partial":false}}