MEDIUM6.1
GHSA-rhh4-rh7c-7r5v
Archiver Path Traversal vulnerability
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/mholt/archiver/v3
Introduced in:
3.0.0No fixed version published yet for github.com/mholt/archiver/v3 (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/mholt/archiver
Introduced in:
3.0.0No fixed version published yet for github.com/mholt/archiver (go modules). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-0406[ADVISORY]
- https://access.redhat.com/errata/RHSA-2025:2449[WEB]
- https://access.redhat.com/security/cve/CVE-2024-0406[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2257749[WEB]
- https://github.com/mholt/archiver[PACKAGE]
- https://pkg.go.dev/vuln/GO-2024-2698[WEB]