Code injection in Spring Framework
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
Summary
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.16 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. This CVE addresses the partial fix for CVE-2018-1270 in the 4.3.x branch of the Spring Framework.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Spring by Pivotal | Spring Framework | Versions prior to 5.0.5 and 4.3.16 | — | No fix listed | CNA |
| — | org.springframework:spring-messaging (Maven) | before 4.3.16.RELEASE | 4.3.16.RELEASE | Patch available | GHSA-3rmv-2pg5-xvqj |
| — | org.springframework:spring-messaging (Maven) | 5.0.0.RELEASE to before 5.0.5.RELEASE | 5.0.5.RELEASE | Patch available | GHSA-3rmv-2pg5-xvqj |
- Spring Framework VendorSpring by Pivotal Affected Versions prior to 5.0.5 and 4.3.16 Fixed in — No fix listed CNA
- org.springframework:spring-messaging (Maven) Vendor— Affected before 4.3.16.RELEASE Fixed in 4.3.16.RELEASE Patch available GHSA-3rmv-2pg5-xvqj
- org.springframework:spring-messaging (Maven) Vendor— Affected 5.0.0.RELEASE to before 5.0.5.RELEASE Fixed in 5.0.5.RELEASE Patch available GHSA-3rmv-2pg5-xvqj
CPE configurations NVD · 43
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* | 4.3.0 to before 4.3.16; 5.0.0 to before 5.0.5 | Vulnerable | VMware |
| cpe:2.3:a:oracle:application_testing_suite:12.5.0.3:*:*:*:*:*:*:* | 12.5.0.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:application_testing_suite:13.1.0.1:*:*:*:*:*:*:* | 13.1.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:application_testing_suite:13.2.0.1:*:*:*:*:*:*:* | 13.2.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:* | 13.3.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:big_data_discovery:1.6.0:*:*:*:*:*:*:* | 1.6.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_converged_application_server:*:*:*:*:*:*:*:* | before 7.0.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* | before 8.3 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:* | before 10.2.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:communications_services_gatekeeper:*:*:*:*:*:*:*:* | before 6.1.0.4.0 | Vulnerable | Oracle |
- cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* Versions 4.3.0 to before 4.3.16; 5.0.0 to before 5.0.5 Vulnerable ·VMware
- cpe:2.3:a:oracle:application_testing_suite:12.5.0.3:*:*:*:*:*:*:* Versions 12.5.0.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:application_testing_suite:13.1.0.1:*:*:*:*:*:*:* Versions 13.1.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:application_testing_suite:13.2.0.1:*:*:*:*:*:*:* Versions 13.2.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:application_testing_suite:13.3.0.1:*:*:*:*:*:*:* Versions 13.3.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:big_data_discovery:1.6.0:*:*:*:*:*:*:* Versions 1.6.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_converged_application_server:*:*:*:*:*:*:*:* Versions before 7.0.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* Versions before 8.3 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_performance_intelligence_center:*:*:*:*:*:*:*:* Versions before 10.2.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:communications_services_gatekeeper:*:*:*:*:*:*:*:* Versions before 6.1.0.4.0 Vulnerable ·Oracle
Show 33 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:oracle:goldengate_for_big_data:12.2.0.1:*:*:*:*:*:*:* | 12.2.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:goldengate_for_big_data:12.3.1.1:*:*:*:*:*:*:* | 12.3.1.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:goldengate_for_big_data:12.3.2.1:*:*:*:*:*:*:* | 12.3.2.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:health_sciences_information_manager:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:healthcare_master_person_index:3.0:*:*:*:*:*:*:* | 3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:healthcare_master_person_index:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_calculation_engine:10.1.1:*:*:*:*:*:*:* | 10.1.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_calculation_engine:10.2:*:*:*:*:*:*:* | 10.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_calculation_engine:10.2.1:*:*:*:*:*:*:* | 10.2.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_rules_palette:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_rules_palette:10.1:*:*:*:*:*:*:* | 10.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_rules_palette:10.2:*:*:*:*:*:*:* | 10.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_rules_palette:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:insurance_rules_palette:11.1:*:*:*:*:*:*:* | 11.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_gateway:15.2:*:*:*:*:*:*:* | 15.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_gateway:16.2:*:*:*:*:*:*:* | 16.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:primavera_gateway:17.12:*:*:*:*:*:*:* | 17.12 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_customer_insights:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_customer_insights:16.0:*:*:*:*:*:*:* | 16.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_open_commerce_platform:5.3.0:*:*:*:*:*:*:* | 5.3.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_open_commerce_platform:6.0.0:*:*:*:*:*:*:* | 6.0.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_open_commerce_platform:6.0.1:*:*:*:*:*:*:* | 6.0.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_order_broker:5.1:*:*:*:*:*:*:* | 5.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_order_broker:5.2:*:*:*:*:*:*:* | 5.2 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_order_broker:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_order_broker:16.0:*:*:*:*:*:*:* | 16.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_predictive_application_server:14.0:*:*:*:*:*:*:* | 14.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_predictive_application_server:14.1:*:*:*:*:*:*:* | 14.1 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_predictive_application_server:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:retail_predictive_application_server:16.0:*:*:*:*:*:*:* | 16.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:service_architecture_leveraging_tuxedo:12.1.3.0.0:*:*:*:*:*:*:* | 12.1.3.0.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:service_architecture_leveraging_tuxedo:12.2.2.0.0:*:*:*:*:*:*:* | 12.2.2.0.0 | Vulnerable | Oracle |
| cpe:2.3:a:oracle:tape_library_acsls:8.4:*:*:*:*:*:*:* | 8.4 | Vulnerable | Oracle |
- cpe:2.3:a:oracle:goldengate_for_big_data:12.2.0.1:*:*:*:*:*:*:* Versions 12.2.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:goldengate_for_big_data:12.3.1.1:*:*:*:*:*:*:* Versions 12.3.1.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:goldengate_for_big_data:12.3.2.1:*:*:*:*:*:*:* Versions 12.3.2.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:health_sciences_information_manager:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:healthcare_master_person_index:3.0:*:*:*:*:*:*:* Versions 3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:healthcare_master_person_index:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_calculation_engine:10.1.1:*:*:*:*:*:*:* Versions 10.1.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_calculation_engine:10.2:*:*:*:*:*:*:* Versions 10.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_calculation_engine:10.2.1:*:*:*:*:*:*:* Versions 10.2.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_rules_palette:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_rules_palette:10.1:*:*:*:*:*:*:* Versions 10.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_rules_palette:10.2:*:*:*:*:*:*:* Versions 10.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_rules_palette:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:insurance_rules_palette:11.1:*:*:*:*:*:*:* Versions 11.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_gateway:15.2:*:*:*:*:*:*:* Versions 15.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_gateway:16.2:*:*:*:*:*:*:* Versions 16.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:primavera_gateway:17.12:*:*:*:*:*:*:* Versions 17.12 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_customer_insights:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_customer_insights:16.0:*:*:*:*:*:*:* Versions 16.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_open_commerce_platform:5.3.0:*:*:*:*:*:*:* Versions 5.3.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_open_commerce_platform:6.0.0:*:*:*:*:*:*:* Versions 6.0.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_open_commerce_platform:6.0.1:*:*:*:*:*:*:* Versions 6.0.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_order_broker:5.1:*:*:*:*:*:*:* Versions 5.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_order_broker:5.2:*:*:*:*:*:*:* Versions 5.2 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_order_broker:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_order_broker:16.0:*:*:*:*:*:*:* Versions 16.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_predictive_application_server:14.0:*:*:*:*:*:*:* Versions 14.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_predictive_application_server:14.1:*:*:*:*:*:*:* Versions 14.1 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_predictive_application_server:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:retail_predictive_application_server:16.0:*:*:*:*:*:*:* Versions 16.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:service_architecture_leveraging_tuxedo:12.1.3.0.0:*:*:*:*:*:*:* Versions 12.1.3.0.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:service_architecture_leveraging_tuxedo:12.2.2.0.0:*:*:*:*:*:*:* Versions 12.2.2.0.0 Vulnerable ·Oracle
- cpe:2.3:a:oracle:tape_library_acsls:8.4:*:*:*:*:*:*:* Versions 8.4 Vulnerable ·Oracle
Remediation
- Fix · GHSA-3rmv-2pg5-xvqj org.springframework:spring-messaging (Maven) Fixed in 4.3.16.RELEASE Advisory →
- Fix · GHSA-3rmv-2pg5-xvqj org.springframework:spring-messaging (Maven) Fixed in 5.0.5.RELEASE Advisory →
Red Hat 2 advisories
- RHSA-2018:2939 Released 2018-10-17 · Red Hat rating CriticalRed Hat FIS 2.0 on Fuse 6.3.0 R8 security and bug fix update
- Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8
- RHSA-2018:1320 Released 2018-05-03 · Red Hat rating CriticalRed Hat OpenShift Application Runtimes security and bug fix update
- Red Hat Openshift Application Runtimes
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat JBoss Fuse 6 | Affected | No fix yet |
| Red Hat JBoss Fuse Integration Service 2 | Affected | No fix yet |
| Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8 | Fixed | RHSA-2018:2939 |
| Red Hat Openshift Application Runtimes | Fixed | RHSA-2018:1320 |
Not affected: 13 products
- Red Hat Enterprise Linux 8
- Red Hat Fuse 7
- Red Hat JBoss A-MQ 6
- Red Hat JBoss BRMS 6
- Red Hat JBoss Data Virtualization 6
- Red Hat JBoss Enterprise Application Platform 5
- Red Hat JBoss Enterprise Application Platform 6
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Web Server 2
- Red Hat JBoss Web Server 3
- Red Hat Mobile Application Platform 4
- Red Hat Storage 3
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1275
- 2026-10-03 Alias added: GHSA-3rmv-2pg5-xvqj
References
Patch 4
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
Advisory 6
Other 11
- [activemq-issues] 20190703 [jira] [Created] (AMQ-7236) SEV-1 Security vulnerability in spring-expression-4.3.11.RELEASE.jar (spring framework)
- [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
- [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
- https://github.com/spring-projects/spring-framework/commit/0009806debb578e884f6dc98bd1f2dc668020021
- https://github.com/spring-projects/spring-framework/commit/e0de9126ed8cf25cf141d3e66420da94e350708a
- https://github.com/spring-projects/spring-framework
- https://lists.apache.org/thread.html/4ed49b103f64a0cecb38064f26cbf1389afc12124653da2d35166dbe@%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://web.archive.org/web/20190901081835/http://www.securitytracker.com/id/1041301
- https://web.archive.org/web/20200227033125/http://www.securityfocus.com/bid/103771
More Spring by Pivotal vulnerabilities
- TI-2018-01178 Code injection in Spring Framework KEVCVSS 3.1CRITICAL 9.8
- TI-2018-01175 Code injection in Spring Framework CVSS 3.1CRITICAL 9.8
- TI-2017-05637 Improper input validation in Pivotal Spring Data REST and Spring Boot CVSS 3.0CRITICAL 9.8
- TI-2013-05382 The SourceHttpMessageConverter in Spring MVC in Spring Framework before 3.2.5 and… CVSS 2.0MEDIUM 6.8
- TI-2022-13602 Authorization bypass in Concourse CVSS 3.1MEDIUM 5.4
- TI-2018-01165 Code injection in Pivotal Spring Security OAuth CVSS 3.0CRITICAL 9.8
Sources
- CVE-2018-1275 · CVE Program
- CVE-2018-1275 · NVD
- FIRST EPSS
- GHSA-3rmv-2pg5-xvqj · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1275 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences