HighGHSA-2m8h-fgr8-2q9wCVE-2016-9878
Pivotal Spring Framework Paths provided to the ResourceServlet were not properly sanitized
Published 4 Oct 2018 · Updated 5 Mar 2024
Is your project on an affected org.springframework:spring-webmvc?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- <3.2.18
- Fixed in
- 3.2.18
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=3.2.18 -DforceVersion=true- Affected
- >=4.2.0 <4.2.9
- Fixed in
- 4.2.9
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=4.2.9 -DforceVersion=true- Affected
- >=4.3.0 <4.3.5
- Fixed in
- 4.3.5
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.springframework:spring-webmvc -DdepVersion=4.3.5 -DforceVersion=trueDetails
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.
Is GHSA-2m8h-fgr8-2q9w in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework:spring-webmvc, and gives you the command that fixes it.
More advisories for org.springframework:spring-webmvc
- CriticalCVE-2026-47890Spring Framework Server Sent Event stream corruption while rendering fragments · 27 Aug 2026
- CriticalCVE-2026-47884Spring Framework Improper Path Limitation in XsltView · 27 Aug 2026
- MediumCVE-2026-41846Spring Framework Cross-site Scripting via JSP Form Tags · 9 Jun 2026
- MediumCVE-2026-41853Spring Framework Multipart Request Smuggling in Spring MVC and WebFlux · 9 Jun 2026
- HighCVE-2026-41845Spring Framework Cross-site Scripting via JavaScriptUtils · 9 Jun 2026
- HighCVE-2026-41842Spring Framework Denial of Service via Versioned Resources in Spring MVC and WebFlux · 9 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2016-9878
- Linkgithub.com/spring-projects/spring-framework/issues/19513
- Linkgithub.com/spring-projects/spring-framework/commit/43bf008fbcd0d7945e2fcd5e30039bc4d74c7a98
- Linkgithub.com/spring-projects/spring-framework/commit/a7dc48534ea501525f11369d369178a60c2f47d0
- Linkgithub.com/spring-projects/spring-framework/commit/e2d6e709c3c65a4951eb096843ee75d5200cfcad
- Linkaccess.redhat.com/errata/RHSA-2017:3115
- Advisorygithub.com/advisories/GHSA-2m8h-fgr8-2q9w
- Packagegithub.com/spring-projects/spring-framework
- Linklists.debian.org/debian-lts-announce/2019/07/msg00012.html
- Linkpivotal.io/security/cve-2016-9878
- Linksecurity.netapp.com/advisory/ntap-20180419-0002
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Linkwww.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- Linkwww.securityfocus.com/bid/95072
- Linkwww.securitytracker.com/id/1040698
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.