GitHub Advisoryadvisory · Go

GHSA-rhh4-rh7c-7r5v Archiver Path Traversal vulnerability

MEDIUM Published 2024-04-06 Modified 2025-05-07 Official page ↗
Aliases
CVE-2024-0406
Ecosystem
Go
Packages
github.com/mholt/archiver/v3, github.com/mholt/archiver
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Weaknesses
CWE-22
Reviewed
2024-04-08

Affected packages

• Go github.com/mholt/archiver/v3: >= 3.0.0, <= 3.5.1 (no fix yet) • Go github.com/mholt/archiver: >= 3.0.0, <= 3.5.1 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-0406 A flaw was discovered in the mholt/archiver package. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References