CVE-2024-0406
MEDIUM6.1EPSS 22.1%Archiver Path Traversal vulnerability
Published: 4/6/2024Modified: 2/4/2026
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 packages (4)
- Go/github.com/mholt/archiver>= 3.0.0, <= 3.5.1
- Go/github.com/mholt/archiverfrom 0
- Go/github.com/mholt/archiver/v3>= 3.0.0, <= 3.5.1
- Go/github.com/mholt/archiver/v3from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
References (7)
- ADVISORYhttps://github.com/advisories/GHSA-rhh4-rh7c-7r5v
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-0406
- PATCHhttps://github.com/mholt/archiver
- WEBhttps://access.redhat.com/errata/RHSA-2025:2449
- WEBhttps://access.redhat.com/security/cve/CVE-2024-0406
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2257749
- WEBhttps://pkg.go.dev/vuln/GO-2024-2698