CVE-2024-0406: Archiver Path Traversal vulnerability
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.
Published Apr 6, 2024 · Updated May 7, 2025
Affected packages
github.com/mholt/archiver/v3
- Ecosystem
- Go
- Affected
- >= 3.0.0, <= 3.5.1
- Fixed in
- No patched version yet
- Check
go list -m github.com/mholt/archiver/v3
github.com/mholt/archiver
- Ecosystem
- Go
- Affected
- >= 3.0.0, <= 3.5.1
- Fixed in
- No patched version yet
- Check
go list -m github.com/mholt/archiver
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to kbsteere.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
