{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework:spring-messaging. It affects 28 products.","exploited":"There is no known exploitation of CVE-2018-1270 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-messaging to a fixed version for your release line: 4.3.16.RELEASE or 5.0.5.RELEASE.","what":"CVE-2018-1270 is a critical code injection vulnerability in Debian Debian Linux, published on 6 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1270 and fix it if it is affected.\n\nWhat it is: CVE-2018-1270 is a critical code injection vulnerability in Debian Debian Linux, published on 6 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-1270 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-messaging (Maven): affected all versions; fixed in 4.3.16.RELEASE\n- org.springframework:spring-messaging (Maven): affected all versions; fixed in 4.3.16.RELEASE\n- org.springframework:spring-messaging (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.5.RELEASE\n- org.springframework:spring-messaging (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.5.RELEASE\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-1270/ (Markdown: https://insights.sbomify.com/CVE-2018-1270/index.md)","id":"CVE-2018-1270","markdown":"https://insights.sbomify.com/CVE-2018-1270/index.md","name":"CVE-2018-1270","record":{"aliases":["DEBIAN-CVE-2018-1270","GHSA-p5hg-3xm3-gcjg","UBUNTU-CVE-2018-1270"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Java web framework","requires_auth":"none","summary":"Attackers can achieve remote code execution by sending crafted messages to STOMP over WebSocket endpoints in Spring Framework applications using the in-memory broker.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"application_testing_suite","vendor":"oracle"},{"product":"big_data_discovery","vendor":"oracle"},{"product":"communications_converged_application_server","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_performance_intelligence_center","vendor":"oracle"},{"product":"communications_services_gatekeeper","vendor":"oracle"},{"product":"enterprise_manager_ops_center","vendor":"oracle"},{"product":"goldengate_for_big_data","vendor":"oracle"},{"product":"health_sciences_information_manager","vendor":"oracle"},{"product":"healthcare_master_person_index","vendor":"oracle"},{"product":"insurance_calculation_engine","vendor":"oracle"},{"product":"insurance_rules_palette","vendor":"oracle"},{"product":"primavera_gateway","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_customer_insights","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_open_commerce_platform","vendor":"oracle"},{"product":"retail_order_broker","vendor":"oracle"},{"product":"retail_point-of-sale","vendor":"oracle"},{"product":"retail_predictive_application_server","vendor":"oracle"},{"product":"retail_returns_management","vendor":"oracle"},{"product":"retail_xstore_point_of_service","vendor":"oracle"},{"product":"service_architecture_leveraging_tuxedo","vendor":"oracle"},{"product":"tape_library_acsls","vendor":"oracle"},{"product":"fuse","vendor":"redhat"},{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-358","name":"Improperly Implemented Security Check for Standard"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2018-04-07","github_poc":4,"max_poc_stars":113,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-04-07T00:14:33Z","kind":"github_poc","ref":"https://github.com/CaledoniaProject/CVE-2018-1270","stars":113,"title":"Spring messaging STOMP protocol RCE"},{"date":"2018-04-17T01:59:11Z","kind":"github_poc","ref":"https://github.com/Tom4t0/CVE-2018-1270_EXP","stars":0,"title":null},{"date":"2018-11-19T11:47:40Z","kind":"github_poc","ref":"https://github.com/tafamace/CVE-2018-1270","stars":0,"title":null},{"date":"2018-12-17T02:22:53Z","kind":"github_poc","ref":"https://github.com/Venscor/CVE-2018-1270","stars":0,"title":"CVE-2018-1270 表达式RCE环境"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Spring Framework allows applications to expose STOMP over WebSocket endpoints","id":"CVE-2018-1270","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux","oracle:application_testing_suite","oracle:communications_diameter_signaling_router","oracle:enterprise_manager_ops_center","oracle:primavera_gateway","oracle:retail_xstore_point_of_service","vmware:spring_framework"],"type":"code_injection","year":"2018"},"n_packages":4,"n_references":16,"next":{"headline":"Path Traversal in org.springframework:spring-core","id":"CVE-2018-1271"},"packages":[{"ecosystem":"Maven","fixed":["4.3.16.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-messaging","purl":null,"source":"GHSA-p5hg-3xm3-gcjg"},{"ecosystem":"Maven","fixed":["4.3.16.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework:spring-messaging","purl":"pkg:maven/org.springframework/spring-messaging","source":"GHSA-p5hg-3xm3-gcjg"},{"ecosystem":"Maven","fixed":["5.0.5.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-messaging","purl":null,"source":"GHSA-p5hg-3xm3-gcjg"},{"ecosystem":"Maven","fixed":["5.0.5.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-messaging","purl":"pkg:maven/org.springframework/spring-messaging","source":"GHSA-p5hg-3xm3-gcjg"}],"prev":{"headline":"Denial of service in Loggregator","id":"CVE-2018-1269"},"products":["Spring Framework"],"published":"2018-04-06","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Spring by Pivotal"]},"summary":"Attackers can achieve remote code execution by sending crafted messages to STOMP over WebSocket endpoints in Spring Framework applications using the in-memory broker.","url":"https://insights.sbomify.com/CVE-2018-1270/"}