GitHub Advisoryadvisory · Go

GHSA-84xv-jfrm-h4gm registry-support: decompress can delete files outside scope via relative paths

MEDIUM Published 2024-02-14 Modified 2026-02-27 Official page ↗
Aliases
CVE-2024-1485
Ecosystem
Go
Packages
github.com/devfile/registry-support/registry-library
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H
Weaknesses
CWE-22, CWE-23, CWE-73
Reviewed
2024-02-21

Affected packages

• Go github.com/devfile/registry-support/registry-library: < 0.0.0-20240206 → fixed in 0.0.0-20240206

Description

A vulnerability was found in the decompression function of registry-support. This issue can be triggered by an unauthenticated remote attacker when tricking a user into opening a specially modified .tar archive, leading to the cleanup process following relative paths to overwrite or delete files outside the intended scope.

Related

Alias · CVE (1)

  • CVE-2024-1485 A flaw was found in the decompression function of registry-support. vulnerability

Weakness · CWE (3)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-23 Relative Path Traversal weakness
  • CWE-73 External Control of File Name or Path weakness

References