Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/devfile/registry-support/registry-library
  4. ›
  5. CVE-2024-1485

CVE-2024-1485: registry-support: decompress can delete files outside scope via relative paths

February 14, 2024 (updated February 27, 2026)

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.

References

  • access.redhat.com/security/cve/CVE-2024-1485
  • bugzilla.redhat.com/show_bug.cgi?id=2264106
  • github.com/advisories/GHSA-84xv-jfrm-h4gm
  • github.com/devfile/registry-support
  • github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d
  • github.com/devfile/registry-support/pull/197
  • nvd.nist.gov/vuln/detail/CVE-2024-1485

Code Behaviors & Features

Detect and mitigate CVE-2024-1485 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20240206

Fixed versions

  • 0.0.0-20240206

Solution

Upgrade to version 0.0.0-20240206 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

go/github.com/devfile/registry-support/registry-library/CVE-2024-1485.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:10 +0000.