Path Traversal in org.springframework:spring-core
Published 17 Oct 2018 · Updated 17 Mar 2024
Is your project on an affected org.springframework:spring-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=5.0.0 <5.0.5
- Fixed in
- 5.0.5
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=5.0.5 -DforceVersion=true- Affected
- <4.3.15
- Fixed in
- 4.3.15
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=4.3.15 -DforceVersion=trueDetails
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
Is GHSA-g8hw-794c-4j9g 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-core, and gives you the command that fixes it.
More advisories for org.springframework:spring-core
- LowCVE-2026-41848Spring Framework Denial of Service via AntPathMatcher · 9 Jun 2026
- HighCVE-2025-41249Spring Framework annotation detection mechanism may result in improper authorization · 16 Sept 2025
- HighCVE-2024-22233Spring Framework server Web DoS Vulnerability · 22 Jan 2024
- MediumCVE-2021-22096Improper Output Neutralization for Logs in Spring Framework · 24 May 2022
- HighCVE-2011-2730Improper Neutralization of Directives in Dynamically Evaluated Code in Spring Framework · 17 May 2022
- MediumCVE-2011-2894Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data · 14 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-1271
- Linkgithub.com/spring-projects/spring-framework/commit/0e28bee0f155b9bf240b4bafc4646e4810cb23f8
- Linkgithub.com/spring-projects/spring-framework/commit/13356a7ee2240f740737c5c83bdccdacc30603ab
- Linkgithub.com/spring-projects/spring-framework/commit/695bf2961feffd35b5560ccc982a2189dcca611f
- Linkgithub.com/spring-projects/spring-framework/commit/91b803a2310344d925e5d4b1709bbcea90375548
- Linkgithub.com/spring-projects/spring-framework/commit/98ad23bef8e2e04143f8f5b201380543a8d8c0c3
- Linkgithub.com/spring-projects/spring-framework/commit/b9ebdaaf3710db473a2e1fec8641c316483a22aa
- Linkgithub.com/spring-projects/spring-framework/commit/f046a066eceefa0799d1bc89bd6e1318f39bdf69
- Linkgithub.com/spring-projects/spring-framework/commit/f59ea610dfcf55cd0b42f6dd76a9b3dab0218aaa
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Linkwww.oracle.com/security-alerts/cpuoct2021.html
- Linkwww.oracle.com/security-alerts/cpujul2020.html
- Linkpivotal.io/security/cve-2018-1271
- Advisorygithub.com/advisories/GHSA-g8hw-794c-4j9g
- Linkaccess.redhat.com/errata/RHSA-2018:2939
- Linkaccess.redhat.com/errata/RHSA-2018:2669
- Linkaccess.redhat.com/errata/RHSA-2018:1320
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- Linkwww.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.