Advisory

GHSA-84xv-jfrm-h4gm

Also known as: CVE-2024-1485, GO-2024-2576

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-14 00:35 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/devfile/registry-support/registry-library

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20240206 (semver)

Fixed versions

0.0.0-20240206

Fix

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