{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-17828 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-17828 is a medium-severity path traversal vulnerability in n/a, published on 1 Oct 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-17828 and fix it if it is affected.\n\nWhat it is: CVE-2018-17828 is a medium-severity path traversal vulnerability in n/a, published on 1 Oct 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-17828 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-17828/ (Markdown: https://insights.sbomify.com/CVE-2018-17828/index.md)","id":"CVE-2018-17828","markdown":"https://insights.sbomify.com/CVE-2018-17828/index.md","name":"CVE-2018-17828","record":{"aliases":["ALSA-2020:1653","ALSA-2025:20478","ALSA-2025:20838","AZL-7014","AZL-7458","DEBIAN-CVE-2018-17828","ECHO-8cd6-a91d-72cf","GHSA-g8rp-fvg9-52vv","RHSA-2020:1178","RHSA-2020:1653","RHSA-2025:20478","RHSA-2025:20838","RLSA-2020:1653","RLSA-2025:20478","RLSA-2025:20838","SUSE-SU-2018:3220-1","SUSE-SU-2018:3379-1","UBUNTU-CVE-2018-17828"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ZZIPlib library","requires_auth":"none","summary":"Attackers can overwrite arbitrary files via directory traversal in ZZIPlib, impacting systems using this library for zip extraction.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zziplib","vendor":"gdraheim"}],"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":"Directory traversal vulnerability in ZZIPlib 0.13.69 allows attackers to overwrite arbitrary files via a .. (dot dot) in a zip file, because of the function unzzip_cat in the bins/unzzipcat-mem.c file.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.1","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:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Desktop 12 SP3","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:Linux Enterprise Workstation Extension 12 SP3"],"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":"Path traversal in n/a","id":"CVE-2018-17828","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":54,"n_references":1,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-17830"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/almalinux/zziplib","source":"ALSA-2025:20478"},{"ecosystem":"AlmaLinux:10","fixed":["0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/almalinux/zziplib-devel","source":"ALSA-2025:20478"},{"ecosystem":"AlmaLinux:10","fixed":["0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/almalinux/zziplib-utils","source":"ALSA-2025:20478"},{"ecosystem":"AlmaLinux:8","fixed":["0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/almalinux/zziplib-devel","source":"ALSA-2020:1653"},{"ecosystem":"AlmaLinux:9","fixed":["0.13.71-12.el9"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/almalinux/zziplib","source":"ALSA-2025:20838"},{"ecosystem":"AlmaLinux:9","fixed":["0.13.71-12.el9"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/almalinux/zziplib-devel","source":"ALSA-2025:20838"},{"ecosystem":"AlmaLinux:9","fixed":["0.13.71-12.el9"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/almalinux/zziplib-utils","source":"ALSA-2025:20838"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-debugsource","purl":"pkg:rpm/redhat/zziplib-debugsource","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.13.78-2.el10"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils-debuginfo","purl":"pkg:rpm/redhat/zziplib-utils-debuginfo","source":"RHSA-2025:20478"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:0.13.62-12.el7"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2020:1178"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-debugsource","purl":"pkg:rpm/redhat/zziplib-debugsource","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils","purl":"pkg:rpm/redhat/zziplib-utils","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils-debuginfo","purl":"pkg:rpm/redhat/zziplib-utils-debuginfo","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-debugsource","purl":"pkg:rpm/redhat/zziplib-debugsource","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-devel","purl":"pkg:rpm/redhat/zziplib-devel","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:0.13.68-8.el8"],"introduced":["0"],"last_affected":[],"package":"zziplib-utils-debuginfo","purl":"pkg:rpm/redhat/zziplib-utils-debuginfo","source":"RHSA-2020:1653"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.13.71-12.el9"],"introduced":["0"],"last_affected":[],"package":"zziplib","purl":"pkg:rpm/redhat/zziplib","source":"RHSA-2025:20838"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:0.13.71-12.el9"],"introduced":["0"],"last_affected":[],"package":"zziplib-debuginfo","purl":"pkg:rpm/redhat/zziplib-debuginfo","source":"RHSA-2025:20838"}],"prev":{"headline":"Code injection in n/a","id":"CVE-2018-17827"},"products":["n/a"],"published":"2018-10-01","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2024-39134","kev_date_added":null,"published":"2024-06-27"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2018-16548","kev_date_added":null,"published":"2018-09-05"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2018-7727","kev_date_added":null,"published":"2018-03-06"},{"cvss_score":6.5,"headline":"Memory corruption in n/a","id":"CVE-2018-6542","kev_date_added":null,"published":"2018-02-02"},{"cvss_score":5.5,"headline":"Denial of service in n/a","id":"CVE-2020-18770","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":5.5,"headline":"Denial of service in n/a","id":"CVE-2017-5977","kev_date_added":null,"published":"2017-03-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["n/a"]},"summary":"Attackers can overwrite arbitrary files via directory traversal in ZZIPlib, impacting systems using this library for zip extraction.","url":"https://insights.sbomify.com/CVE-2018-17828/"}