cve.bz

CVE-2018-1270 Code Injection

9.8 criticalEPSS 78%Fix available

Critical (9.8). EPSS 78% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-messaging 4.3.16.RELEASE, 5.0.5.RELEASE.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
78% (unchanged from 78% a week ago; 77% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-358 Improperly Implemented Security Check for Standard
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1270 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1270?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1270?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1270 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2018-1270

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2018-1270](https://cve.bz/cve/badge/CVE-2018-1270.svg)](https://cve.bz/cve/CVE-2018-1270)

HTML:

<a href="https://cve.bz/cve/CVE-2018-1270"><img src="https://cve.bz/cve/badge/CVE-2018-1270.svg" alt="CVE-2018-1270"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:spring_frameworkbefore 4.3.16
vmware:spring_frameworkfrom 5.0.0 before 5.0.5
oracle:application_testing_suite12.5.0.3
oracle:application_testing_suite13.1.0.1
oracle:application_testing_suite13.2.0.1
oracle:application_testing_suite13.3.0.1
oracle:big_data_discovery1.6.0
oracle:communications_converged_application_serverbefore 7.0.0.1
oracle:communications_diameter_signaling_routerbefore 8.3
oracle:communications_performance_intelligence_centerbefore 10.2.1
oracle:communications_services_gatekeeperbefore 6.1.0.4.0
oracle:enterprise_manager_ops_center12.2.2
oracle:enterprise_manager_ops_center12.3.3
oracle:goldengate_for_big_data12.2.0.1
oracle:goldengate_for_big_data12.3.1.1
oracle:goldengate_for_big_data12.3.2.1
oracle:health_sciences_information_manager3.0
oracle:healthcare_master_person_index3.0
oracle:healthcare_master_person_index4.0
oracle:insurance_calculation_engine10.1.1
oracle:insurance_calculation_engine10.2
oracle:insurance_calculation_engine10.2.1
oracle:insurance_rules_palette10.0
oracle:insurance_rules_palette10.1
oracle:insurance_rules_palette10.2
oracle:insurance_rules_palette11.0
oracle:insurance_rules_palette11.1
oracle:primavera_gateway15.2
oracle:primavera_gateway16.2
oracle:primavera_gateway17.12
oracle:retail_back_office14.0
oracle:retail_back_office14.1
oracle:retail_central_office14.0
oracle:retail_central_office14.1
oracle:retail_customer_insights15.0
oracle:retail_customer_insights16.0
oracle:retail_integration_bus14.0.1
oracle:retail_integration_bus14.0.2
oracle:retail_integration_bus14.0.3
oracle:retail_integration_bus14.0.4
oracle:retail_integration_bus14.1.1
oracle:retail_integration_bus14.1.2
oracle:retail_integration_bus14.1.3
oracle:retail_integration_bus15.0.0.1
oracle:retail_integration_bus15.0.1
oracle:retail_integration_bus15.0.2
oracle:retail_integration_bus16.0
oracle:retail_integration_bus16.0.1
oracle:retail_integration_bus16.0.2
oracle:retail_open_commerce_platform5.3.0
oracle:retail_open_commerce_platform6.0.0
oracle:retail_open_commerce_platform6.0.1
oracle:retail_order_broker5.1
oracle:retail_order_broker5.2
oracle:retail_order_broker15.0
oracle:retail_order_broker16.0
oracle:retail_point-of-sale14.0
oracle:retail_point-of-sale14.1
oracle:retail_predictive_application_server14.0
oracle:retail_predictive_application_server14.1
oracle:retail_predictive_application_server15.0
oracle:retail_predictive_application_server16.0
oracle:retail_returns_management14.0
oracle:retail_returns_management14.1
oracle:retail_xstore_point_of_service7.1
oracle:service_architecture_leveraging_tuxedo12.1.3.0.0
oracle:service_architecture_leveraging_tuxedo12.2.2.0.0
oracle:tape_library_acsls8.4
redhat:fuse1.0.0
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p5hg-3xm3-gcjgMavenorg.springframework:spring-messaging>=5.0.0.RELEASE <5.0.5.RELEASE5.0.5.RELEASE
GHSA-p5hg-3xm3-gcjgMavenorg.springframework:spring-messaging<4.3.16.RELEASE4.3.16.RELEASE

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libspring-java4.3.5-1+deb9u1DLA-2635-1
Debian12, 13, 14libspring-java4.3.19-1DEBIAN-CVE-2018-1270
Ubuntu18.04:LTSlibspring-java4.3.22-1~18.04UBUNTU-CVE-2018-1270

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

No Red Hat products are directly affected by this flaw; the products that package some parts of the Spring Framework either do not ship the affected messaging component, or use an older version that is not affected.

Fuse 6.3 and Fuse Integration Services 2.0 are both not directly affected by the flaw, but both point to the affected versions in their respective Camel-Springboot Maven repository BOMs. Fixes for those repository links will be addressed in advisories via regular patch cycle; customers using Spring stomp messaging from these Maven repositories are advised to update to the new BOMs when available.

ProductPackageStateAdvisory
Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8Fixed 2018-10-17RHSA-2018:2939
Red Hat Enterprise Linux 8springframeworkNot affected
Red Hat Fuse 7springNot affected
Red Hat JBoss A-MQ 6springNot affected
Red Hat JBoss BRMS 5springNot affected
Red Hat JBoss Data Virtualization 6springNot affected
Red Hat JBoss Enterprise Application Platform 5jbosswebNot affected
Red Hat JBoss Enterprise Application Platform 6jbosswebNot affected
Red Hat JBoss Enterprise Application Platform 7undertowNot affected
Red Hat JBoss Enterprise Web Server 2tomcatNot affected
Red Hat JBoss Fuse 6springAffected
Red Hat JBoss Fuse Integration Service 2springAffected
Red Hat JBoss Fuse Service Works 6springNot affected
Red Hat JBoss Portal 6springNot affected
Red Hat JBoss SOA Platform 5springNot affected
Red Hat JBoss Web Server 3tomcatNot affected
Red Hat Mobile Application Platform 4springNot affected
Red Hat OpenStack Platform 10 (Newton)opendaylightNot affected
Red Hat OpenStack Platform 11 (Ocata)opendaylightNot affected
Red Hat OpenStack Platform 12 (Pike)opendaylightNot affected
3 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1270.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON