Advisory

GHSA-rhh4-rh7c-7r5v

Also known as: CVE-2024-0406, GO-2024-2698

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-06 18:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/mholt/archiver/v3

Go · All systems

Affected

  • introduced 3.0.0, last affected 3.5.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/mholt/archiver

Go · All systems

Affected

  • introduced 3.0.0, last affected 3.5.1 (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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences