GHSA-84xv-jfrm-h4gm

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

At a glance

Published
Updated
CVE
CVE-2024-1485
Aliases
GO-2024-2576
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H
CVSS_V4
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H

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.

Affected packages

PackageVersions
Go · github.com/devfile/registry-support/registry-libraryintroduced 0, fixed 0.0.0-20240206

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database