Advisory

GO-2024-2698

Also known as: CVE-2024-0406, GHSA-rhh4-rh7c-7r5v

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-06-05 15:10 UTC
Modified
2026-02-04 02:36 UTC

Affected packages and fixes

github.com/mholt/archiver

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mholt/archiver/v3

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences