{"answers":{"affected":"6 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-8008 in the wild and no public exploit code.","fix":"Upgrade org.apache.storm:storm-core to a fixed version for your release line: 1.0.7, 1.1.3 or 1.2.2.","what":"CVE-2018-8008 is a medium-severity path traversal vulnerability in Apache Storm, published on 5 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-8008 and fix it if it is affected.\n\nWhat it is: CVE-2018-8008 is a medium-severity path traversal vulnerability in Apache Storm, published on 5 Jun 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-8008 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.0.7\n- org.apache.storm:storm-core (Maven): affected all versions; fixed in 1.0.7\n- org.apache.storm:storm-core (Maven): affected from 1.1.0; fixed in 1.1.3\n- org.apache.storm:storm-core (Maven): affected from 1.1.0; 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-8008/ (Markdown: https://insights.sbomify.com/CVE-2018-8008/index.md)","id":"CVE-2018-8008","markdown":"https://insights.sbomify.com/CVE-2018-8008/index.md","name":"CVE-2018-8008","record":{"aliases":["GHSA-898j-5cc8-cmf5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache Storm","requires_auth":"none","summary":"Attackers can write arbitrary files outside the intended directory via crafted archives, potentially compromising the Apache Storm server.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"storm","vendor":"apache"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Apache Storm version 1.0.6 and earlier, 1.2.1 and earlier, and version 1.1.2 and earlier expose an arbitrary file write vulnerability, that can be achieved using a specially crafted zip archive (affects other archives as well, bzip2, tar, xz, war, cpio, 7z), that holds path traversal filenames. So when the filename gets concatenated to the target extraction directory, the final path ends up outside of the target folder.","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":"ZipSlip in org.apache.storm:storm-core","id":"CVE-2018-8008","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":6,"n_references":2,"next":{"headline":"Path Traversal in Hadoop","id":"CVE-2018-8009"},"packages":[{"ecosystem":"Maven","fixed":["1.0.7"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":null,"source":"GHSA-898j-5cc8-cmf5"},{"ecosystem":"Maven","fixed":["1.0.7"],"introduced":["0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":"pkg:maven/org.apache.storm/storm-core","source":"GHSA-898j-5cc8-cmf5"},{"ecosystem":"Maven","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":null,"source":"GHSA-898j-5cc8-cmf5"},{"ecosystem":"Maven","fixed":["1.1.3"],"introduced":["1.1.0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":"pkg:maven/org.apache.storm/storm-core","source":"GHSA-898j-5cc8-cmf5"},{"ecosystem":"Maven","fixed":["1.2.2"],"introduced":["1.2.0"],"last_affected":[],"package":"org.apache.storm:storm-core","purl":null,"source":"GHSA-898j-5cc8-cmf5"},{"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-898j-5cc8-cmf5"}],"prev":{"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2018-8007"},"products":["Apache Storm"],"published":"2018-06-05","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":"Code execution in org.apache.storm:storm-core","id":"CVE-2018-1331","kev_date_added":null,"published":"2018-07-10"},{"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"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":"Attackers can write arbitrary files outside the intended directory via crafted archives, potentially compromising the Apache Storm server.","url":"https://insights.sbomify.com/CVE-2018-8008/"}