GHSA-4487-x383-qpph
Possible privilege escalation in org.springframework:spring-core
Quick fix
GHSA-4487-x383-qpph — org.springframework:spring-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.3.15</version> for org.springframework:spring-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 4.3.15# pom.xml: bump <version>4.3.15</version> for org.springframework:spring-core5.0.0Fixed in: 5.0.5# pom.xml: bump <version>5.0.5</version> for org.springframework:spring-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-1272[ADVISORY]
- https://github.com/spring-projects/spring-framework/commit/ab2410c754b67902f002bfcc0c3895bd7772d39[WEB]
- https://github.com/spring-projects/spring-framework/commit/e02ff3a0da50744b0980d5d665fd242eedea767[WEB]
- https://access.redhat.com/errata/RHSA-2018:1320[WEB]
- https://access.redhat.com/errata/RHSA-2018:2669[WEB]
- https://github.com/advisories/GHSA-4487-x383-qpph[ADVISORY]
- https://pivotal.io/security/cve-2018-1272[WEB]
- https://www.oracle.com/security-alerts/cpujul2020.html[WEB]
- https://www.oracle.com/security-alerts/cpuoct2021.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html[WEB]
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html[WEB]
- http://www.securityfocus.com/bid/103697[WEB]