{"id":"CVE-2024-0406","published":"2024-04-06T16:11:02Z","modified":"2026-11-10T04:22:29Z","title":"Mholt/archiver: path traversal vulnerability","vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","tier":"tail","description":{"text":"A flaw was discovered in the mholt/archiver package. This flaw allows an attacker to create a specially crafted tar file, which, when unpacked, may allow access to restricted files or directories. This issue can allow the creation or overwriting of files with the user's or application's privileges using the library.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00928,"percentile":0.61389,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:2449","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-0406","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2257749","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":21.5,"factors":[{"name":"EPSS percentile","points":12.28},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2025-03-12","earliestUrl":"https://github.com/walidpyh/CVE-2024-0406-POC","repos":[{"name":"walidpyh/CVE-2024-0406-POC","url":"https://github.com/walidpyh/CVE-2024-0406-POC","stars":5,"created":"2025-03-12"},{"name":"veissa/Desires","url":"https://github.com/veissa/Desires","stars":0,"created":"2025-03-29"}]},"first":{"date":"2025-03-12","source":"PoC-in-GitHub","url":"https://github.com/walidpyh/CVE-2024-0406-POC"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":[">= v3.0.0"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 3","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-04-09T19:56:01.225454Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mholt/archiver/v3","vulnerableRanges":[">=3.0.0, <=3.5.1","all versions"],"patched":[],"from":["GHSA-rhh4-rh7c-7r5v","GO-2024-2698"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mholt/archiver","vulnerableRanges":[">=3.0.0, <=3.5.1","all versions"],"patched":[],"from":["GHSA-rhh4-rh7c-7r5v","GO-2024-2698"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1299","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-red-hat-openshift-container-platform-4-1-cve-2024-0406","children":[{"from":"CVE-2024-0406","to":"CVE-2025-3445","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"It's worth noting that a similar vulnerability was found in TAR files (CVE-2024-0406).","from":"CVE.org","in":"CVE-2025-3445"},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same package + description similarity"}]}]}}