GitHub Advisoryadvisory · Go

GHSA-q3rp-vvm7-j8jg Safearchive Path Traversal vulnerability

MEDIUM Published 2024-11-04 Modified 2025-07-23 Official page ↗
Aliases
CVE-2024-10389
Ecosystem
Go
Packages
github.com/google/safearchive
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:L/I:H/A:L
Weaknesses
CWE-22, CWE-427
Reviewed
2024-11-04

Affected packages

• Go github.com/google/safearchive: < 0.0.0-20241025131057-f7ce9d7b6f9c → fixed in 0.0.0-20241025131057-f7ce9d7b6f9c

Description

There exists a Path Traversal vulnerability in Safearchive on Platforms with Case-Insensitive Filesystems (e.g., NTFS). This allows Attackers to Write Arbitrary Files via Archive Extraction containing symbolic links. We recommend upgrading past commit f7ce9d7b6f9c6ecd72d0b0f16216b046e55e44dc

Related

Alias · CVE (1)

  • CVE-2024-10389 There exists a Path Traversal vulnerability in Safearchive on Platforms with Case-Insensitive Filesystems (e.g., NTFS). vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-427 Uncontrolled Search Path Element weakness

References