CVE-2018-1270
spring-framework: Possible RCE via spring messaging
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Red Hat. Rated lower by Ubuntu (high).
Description
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 expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a remote code execution attack.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.springframework:spring-messaging | 5.0.5.RELEASE, 4.3.16.RELEASE |
| debian 11 | libspring-java | 4.3.19-1 |
| debian 12 | libspring-java | 4.3.19-1 |
| debian 13 | libspring-java | 4.3.19-1 |
| debian 14 | libspring-java | 4.3.19-1 |
| debian 9 | libspring-java | 4.3.5-1+deb9u1 |
| echo | libspring-java | 4.3.19-1 |
| seal maven::Seal Security Database | org.springframework:spring-core, seal.sp1.org.springframework:spring-core | 3.2.2.RELEASE+sp999 |
| ubuntu 18.04 | libspring-java | 4.3.22-1~18.04 |
| ubuntu 18.04-ESM | libspring-java | 4.3.22-1~18.04 |
| ubuntu 18.10 | libspring-java | 4.3.22-1~18.04 |
Show all 12 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.springframework:spring-messaging | 5.0.5.RELEASE, 4.3.16.RELEASE |
| debian 11 | libspring-java | 4.3.19-1 |
| debian 12 | libspring-java | 4.3.19-1 |
| debian 13 | libspring-java | 4.3.19-1 |
| debian 14 | libspring-java | 4.3.19-1 |
| debian 9 | libspring-java | 4.3.5-1+deb9u1 |
| echo | libspring-java | 4.3.19-1 |
| seal maven::Seal Security Database | org.springframework:spring-core | 3.2.2.RELEASE+sp999 |
| seal maven::Seal Security Database | seal.sp1.org.springframework:spring-core | 3.2.2.RELEASE+sp999 |
| ubuntu 18.04 | libspring-java | 4.3.22-1~18.04 |
| ubuntu 18.04-ESM | libspring-java | 4.3.22-1~18.04 |
| ubuntu 18.10 | libspring-java | 4.3.22-1~18.04 |
References
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/103696
- https://access.redhat.com/errata/RHSA-2018:2939
- https://access.redhat.com/security/cve/CVE-2018-1270
- https://bugs.launchpad.net/ubuntu/+source/saaj/+bug/1814133
- https://github.com/spring-projects/spring-framework
- https://github.com/spring-projects/spring-framework/commit/0009806debb578e884f6dc98bd1f2dc668020021
All 25 references
- https://github.com/spring-projects/spring-framework/commit/e0de9126ed8cf25cf141d3e66420da94e350708a
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/ab825fcade0b49becfa30235b3d54f4a51bb74ea96b6c9adb5d1378c@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369@%3Cissues.activemq.apache.org%3E
- https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-1270
- https://pivotal.io/security/cve-2018-1270
- https://web.archive.org/web/20200227125035/https://www.securityfocus.com/bid/103696
- https://www.cve.org/CVERecord?id=CVE-2018-1270
- https://www.exploit-db.com/exploits/44796
- https://www.exploit-db.com/exploits/44796/
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html