{"answers":{"affected":"2 open source packages ship an affected version, including org.codehaus.plexus:plexus-archiver. It affects 5 products.","exploited":"There is no known exploitation of CVE-2018-1002200 in the wild and no public exploit code.","fix":"Upgrade org.codehaus.plexus:plexus-archiver to 3.6.0 or later.","what":"CVE-2018-1002200 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 25 Jul 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-1002200 and fix it if it is affected.\n\nWhat it is: CVE-2018-1002200 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 25 Jul 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-1002200 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.codehaus.plexus:plexus-archiver (Maven): affected all versions; fixed in 3.6.0\n- org.codehaus.plexus:plexus-archiver (Maven): affected all versions; fixed in 3.6.0\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-1002200/ (Markdown: https://insights.sbomify.com/CVE-2018-1002200/index.md)","id":"CVE-2018-1002200","markdown":"https://insights.sbomify.com/CVE-2018-1002200/index.md","name":"CVE-2018-1002200","record":{"aliases":["DEBIAN-CVE-2018-1002200","DSA-4227-1","GHSA-hcxq-x77q-3469","MGASA-2019-0005","RHSA-2018:1836","RHSA-2018:1837","SNYK-JAVA-ORGCODEHAUSPLEXUS-31680","UBUNTU-CVE-2018-1002200","USN-4832-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java archiving library","requires_auth":"none","summary":"Attackers can write arbitrary files via directory traversal in archive extraction, potentially leading to code execution or data modification.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"plexus-archiver","vendor":"codehaus-plexus"},{"product":"debian_linux","vendor":"debian"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"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":"plexus-archiver before 3.6.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.","ecosystems":["Maven","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:rhel_software_collections:3::el6","Red Hat:rhel_software_collections:3::el7"],"exploits":{"exploitdb":0,"first_seen":"2025-08-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-08-19T15:55:43Z","kind":"github_poc","ref":"https://github.com/shoucheng3/codehaus-plexus__plexus-archiver_CVE-2018-1002200_3-5","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Improper Limitation of a Pathname to a Restricted Directory in plexus-archiver","id":"CVE-2018-1002200","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_workstation"],"type":"path_traversal","year":"2018"},"n_packages":16,"n_references":8,"next":{"headline":"Improper Limitation of a Pathname to a Restricted Directory in zt-zip","id":"CVE-2018-1002201"},"packages":[{"ecosystem":"Maven","fixed":["3.6.0"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.plexus:plexus-archiver","purl":null,"source":"GHSA-hcxq-x77q-3469"},{"ecosystem":"Maven","fixed":["3.6.0"],"introduced":["0"],"last_affected":[],"package":"org.codehaus.plexus:plexus-archiver","purl":"pkg:maven/org.codehaus.plexus/plexus-archiver","source":"GHSA-hcxq-x77q-3469"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver","purl":"pkg:rpm/redhat/plexus-archiver","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.4.2-5.el7_5"],"introduced":["0"],"last_affected":[],"package":"plexus-archiver-javadoc","purl":"pkg:rpm/redhat/plexus-archiver-javadoc","source":"RHSA-2018:1836"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:2.4.2-5.1.el6"],"introduced":["0"],"last_affected":[],"package":"rh-maven33-plexus-archiver","purl":"pkg:rpm/redhat/rh-maven33-plexus-archiver","source":"RHSA-2018:1837"},{"ecosystem":"Red Hat:rhel_software_collections:3::el6","fixed":["0:2.4.2-5.1.el6"],"introduced":["0"],"last_affected":[],"package":"rh-maven33-plexus-archiver-javadoc","purl":"pkg:rpm/redhat/rh-maven33-plexus-archiver-javadoc","source":"RHSA-2018:1837"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:2.4.2-5.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven33-plexus-archiver","purl":"pkg:rpm/redhat/rh-maven33-plexus-archiver","source":"RHSA-2018:1837"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:2.4.2-5.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven33-plexus-archiver-javadoc","purl":"pkg:rpm/redhat/rh-maven33-plexus-archiver-javadoc","source":"RHSA-2018:1837"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:3.4-4.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven35-plexus-archiver","purl":"pkg:rpm/redhat/rh-maven35-plexus-archiver","source":"RHSA-2018:1837"},{"ecosystem":"Red Hat:rhel_software_collections:3::el7","fixed":["0:3.4-4.1.el7"],"introduced":["0"],"last_affected":[],"package":"rh-maven35-plexus-archiver-javadoc","purl":"pkg:rpm/redhat/rh-maven35-plexus-archiver-javadoc","source":"RHSA-2018:1837"}],"prev":{"headline":"Koji hub call does not perform correct access checks","id":"CVE-2018-1002150"},"products":["plexus-archiver"],"published":"2018-07-25","related":[{"cvss_score":8.1,"headline":"Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver","id":"CVE-2023-37460","kev_date_added":null,"published":"2023-07-25"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Codehaus"]},"summary":"Attackers can write arbitrary files via directory traversal in archive extraction, potentially leading to code execution or data modification.","url":"https://insights.sbomify.com/CVE-2018-1002200/"}