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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring by Pivotal | Spring Framework | Versions prior to 5.0.5 and 4.3.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspring-java | 4.3.19-1 | — |
| Debian 13 | libspring-java | 4.3.19-1 | — |
| Debian 12 | libspring-java | 4.3.19-1 | — |
| Debian 9 | libspring-java | 4.3.5-1+deb9u1 | DLA-2635-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libspring-java | 4.3.22-1~18.04 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 4 repositories
-
CaledoniaProject/CVE-2018-1270 ★ 113 · Apr 7, 2018
Spring messaging STOMP protocol RCE
-
Venscor/CVE-2018-1270 ★ 0 · Dec 17, 2018
CVE-2018-1270 表达式RCE环境
-
tafamace/CVE-2018-1270 ★ 0 · Nov 19, 2018
-
Tom4t0/CVE-2018-1270_EXP ★ 0 · Apr 17, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-messaging | >= 5.0.0.RELEASE, < 5.0.5.RELEASE | 5.0.5.RELEASE | GHSA-p5hg-3xm3-gcjg |
| Maven | org.springframework:spring-messaging | < 4.3.16.RELEASE | 4.3.16.RELEASE | GHSA-p5hg-3xm3-gcjg |
Advisories 2
- DLA-2635-1 libspring-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0528 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 29, 2024
References
- RHSA-2018:2939 vendor-advisory
- 44796 exploit
- 103696 vdb-entry
- [activemq-issues] 20190703 [jira] [Created] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework) mailing-list
- [activemq-issues] 20190703 [jira] [Updated] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework) and xstream-1.4.10.jar mailing-list
- [activemq-issues] 20190718 [jira] [Updated] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework) and xstream-1.4.10.jar mailing-list
- [activemq-issues] 20190826 [jira] [Created] (AMQ-7288) Security Vulnerabilities in ActiveMQ dependent libraries. mailing-list
- 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-1270
- [geode-issues] 20200831 [jira] [Created] (GEODE-8471) Dependency security issues in geode-core-1.12 mailing-list
- [debian-lts-announce] 20210423 [SECURITY] [DLA 2635-1] libspring-java security update mailing-list
- https://www.oracle.com/security-alerts/cpuoct2021.html