Go Vulnerability Database
GO-2024-2698
Archiver Path Traversal vulnerability in github.com/mholt/archiver
Details
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 versions |
|---|---|---|
| Go | github.com/mholt/archiver | All versions, no fix listed |
| Go | github.com/mholt/archiver/v3 | All versions, no fix listed |