medium6.1
CVE-2024-0406
Archiver Path Traversal vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/mholt/archiver/v3 | >= 3.0.0, <= 3.5.1 | none recorded |
| go | github.com/mholt/archiver | >= 3.0.0, <= 3.5.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mholt | Archiver | from 3.0.0 before 4.0.0 |
| Redhat | Advanced Cluster Security | Version 3.0 |
| Redhat | Openshift Container Platform | from 4.18 before 4.18.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-rhh4-rh7c-7r5v
- https://nvd.nist.gov/vuln/detail/CVE-2024-0406
- https://pkg.go.dev/vuln/GO-2024-2698