Possible privilege escalation in org.springframework:spring-core
Published 17 Oct 2018 · Updated 5 Dec 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
- <4.3.15
- Fixed in
- 4.3.15
mvn versions:use-dep-version -Dincludes=org.springframework:spring-core -DdepVersion=4.3.15 -DforceVersion=true- 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=trueDetails
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, provide client-side support for multipart requests. When Spring MVC or Spring WebFlux server application (server A) receives input from a remote client, and then uses that input to make a multipart request to another server (server B), it can be exposed to an attack, where an extra multipart is inserted in the content of the request from server A, causing server B to use the wrong value for a part it expects. This could to lead privilege escalation, for example, if the part content represents a username or user roles.
Is GHSA-4487-x383-qpph 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-1272
- Linkgithub.com/spring-projects/spring-framework/commit/ab2410c754b67902f002bfcc0c3895bd7772d39
- Linkgithub.com/spring-projects/spring-framework/commit/e02ff3a0da50744b0980d5d665fd242eedea767
- Linkaccess.redhat.com/errata/RHSA-2018:1320
- Linkaccess.redhat.com/errata/RHSA-2018:2669
- Advisorygithub.com/advisories/GHSA-4487-x383-qpph
- Linkpivotal.io/security/cve-2018-1272
- Linkwww.oracle.com/security-alerts/cpujul2020.html
- Linkwww.oracle.com/security-alerts/cpuoct2021.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- Linkwww.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- Linkwww.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- Linkwww.securityfocus.com/bid/103697
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.