CVE-2018-1272
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | libspring-java | Not affected vulnerable_code_not_present | ||
| Debian 14 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-1272 |
| Debian 13 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-1272 |
| Debian 12 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-1272 |
| Red Hat Enterprise Linux 8 | springframework | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-aop | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-beans | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-context | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-context-support | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-expression | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-instrument | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-javadoc | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-jdbc | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-jms | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-orm | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-orm-hibernate4 | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-oxm | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-struts | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-test | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-test-mvc | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-tx | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-web | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-webmvc | Not affected | ||
| Red Hat Enterprise Linux 8 | springframework-webmvc-portlet | Not affected | ||
| Maven library | org.springframework:spring-core | Fixed | 5.0.5 | GHSA-4487-x383-qpph |
What the vendor says
As published in the CVE record by dell, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Spring by Pivotal Spring Framework: affected: Versions prior to 5.0.5 and 4.3.15
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2669 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:1320 (vendor-advisory)
References
- http://www.securityfocus.com/bid/103697
- https://access.redhat.com/errata/RHSA-2018:2669
- https://access.redhat.com/errata/RHSA-2018:1320
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://pivotal.io/security/cve-2018-1272
- https://www.oracle.com/security-alerts/cpuoct2021.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.