{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.storm:storm-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1331 in the wild and no public exploit code.","fix":"Upgrade org.apache.storm:storm-core to a fixed version for your release line: 1.1.3 or 1.2.2.","what":"CVE-2018-1331 is a high-severity vulnerability in Apache Storm, published on 10 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1331 and fix it if it is affected.\n\nWhat it is: CVE-2018-1331 is a high-severity vulnerability in Apache Storm, published on 10 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-1331 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.storm:storm-core (Maven): affected all versions; fixed in 1.1.3\n- org.apache.storm:storm-core (Maven): affected all versions; fixed in 1.1.3\n- org.apache.storm:storm-core (Maven): affected from 1.2.0; fixed in 1.2.2\n- org.apache.storm:storm-core (Maven): affected from 1.2.0; fixed in 1.2.2\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-1331/ (Markdown: https://insights.sbomify.com/CVE-2018-1331/index.md)","id":"CVE-2018-1331","markdown":"https://insights.sbomify.com/CVE-2018-1331/index.md","name":"CVE-2018-1331","record":{"aliases":["GHSA-p8jx-x2vw-wm33"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Storm","requires_auth":"low_privilege","summary":"An attacker with access to a secure Apache Storm cluster can execute arbitrary code as a different user, leading to privilege escalation.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"storm","vendor":"apache"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[],"description":"In Apache Storm 0.10.0 through 0.10.2, 1.0.0 through 1.0.6, 1.1.0 through 1.1.2, and 1.2.0 through 1.2.1, an attacker with access to a secure storm cluster in some cases could execute arbitrary code as a different user.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Code execution in org.apache.storm:storm-core","id":"CVE-2018-1331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"privilege_escalation","year":"2018"},"n_packages":4,"n_references":5,"next":{"headline":"Moderate severity vulnerability that affects org.apache.storm:storm-core","id":"CVE-2018-1332"},"packages":[{"ecosystem":"Maven","fixed":["1.1.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":null,"source":"GHSA-p8jx-x2vw-wm33"},{"ecosystem":"Maven","fixed":["1.1.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":"pkg:maven/org.apache.storm/storm-core","source":"GHSA-p8jx-x2vw-wm33"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":null,"source":"GHSA-p8jx-x2vw-wm33"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":"pkg:maven/org.apache.storm/storm-core","source":"GHSA-p8jx-x2vw-wm33"}],"prev":{"headline":"Crash when decoding malformed HTTP requests or malformed JSON payload","id":"CVE-2018-1330"},"products":["Apache Storm"],"published":"2018-07-10","related":[{"cvss_score":9.8,"headline":"Shell Command Injection Vulnerability in Nimbus Thrift Server","id":"CVE-2021-38294","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":9.8,"headline":"Unsafe Pre-Authentication Deserialization In Workers","id":"CVE-2021-40865","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in Apache Storm","id":"CVE-2018-11779","kev_date_added":null,"published":"2019-07-25"},{"cvss_score":9.8,"headline":"Apache Storm remote code execution vulnerability","id":"CVE-2015-3188","kev_date_added":null,"published":"2017-01-13"},{"cvss_score":8.8,"headline":"Apache Storm Client: RCE through Unsafe Deserialization via Kerberos TGT Credential Handling","id":"CVE-2026-35337","kev_date_added":null,"published":"2026-04-13"},{"cvss_score":8.8,"headline":"Apache Storm it is possible for the owner of a topology to trick the supervisor to launch a worker as a different, non-root, user","id":"CVE-2017-9799","kev_date_added":null,"published":"2017-08-09"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"An attacker with access to a secure Apache Storm cluster can execute arbitrary code as a different user, leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2018-1331/"}