{"cve":"CVE-2024-0406","nvd":{"published":"2024-04-06T17:15:07.127","modified":"2026-06-17T06:53:25.983","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-22"],"references":["https://access.redhat.com/errata/RHSA-2025:2449","https://access.redhat.com/security/cve/CVE-2024-0406","https://bugzilla.redhat.com/show_bug.cgi?id=2257749","https://access.redhat.com/security/cve/CVE-2024-0406","https://bugzilla.redhat.com/show_bug.cgi?id=2257749"],"products":["mholt:archiver","redhat:advanced_cluster_security","redhat:openshift_container_platform"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-0406","score":0.00928,"percentile":0.6053,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rhh4-rh7c-7r5v","url":"https://osv.dev/vulnerability/GHSA-rhh4-rh7c-7r5v","summary":"Archiver Path Traversal vulnerability","modified":"2026-09-10T03:50:00.325149766Z","packages":[{"ecosystem":"Go","name":"github.com/mholt/archiver/v3","purl":"pkg:golang/github.com/mholt/archiver/v3","ranges":[">=3.0.0 <=3.5.1"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mholt/archiver","purl":"pkg:golang/github.com/mholt/archiver","ranges":[">=3.0.0 <=3.5.1"],"fixed":[]}]},{"id":"GO-2024-2698","url":"https://osv.dev/vulnerability/GO-2024-2698","summary":"Archiver Path Traversal vulnerability in github.com/mholt/archiver","modified":"2026-02-04T02:36:31.364364Z","packages":[{"ecosystem":"Go","name":"github.com/mholt/archiver","purl":"pkg:golang/github.com/mholt/archiver","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/mholt/archiver/v3","purl":"pkg:golang/github.com/mholt/archiver/v3","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}