What’s Vulnerable › Vulnerabilities
CVE-2024-0406: Mholt/archiver: path traversal vulnerability
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-06 · updated 2026-06-17
- Weakness: CWE-22
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.
Affected products
- mholt Archiver: from 3.0.0 before 4.0.0 — fixed in 4.0.0
- Red Hat Advanced Cluster Security for Kubernetes: 3.0
- Red Hat OpenShift Container Platform 4.18: from 4.18 before 4.18.4 — fixed in 4.18.4
How to fix
Upgrade to a fixed version: mholt Archiver 4.0.0; Red Hat OpenShift Container Platform 4.18 4.18.4. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2024-0406 or the next vulnerability affects your stack