Skip to content

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

High severity GitHub Reviewed Published Feb 14, 2024 to the GitHub Advisory Database • Updated Aug 7, 2024

Package

gomod github.com/devfile/registry-support/registry-library (Go)

Affected versions

< 0.0.0-20240206

Patched versions

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.

References

Published by the National Vulnerability Database Feb 14, 2024
Published to the GitHub Advisory Database Feb 14, 2024
Reviewed Feb 21, 2024
Last updated Aug 7, 2024

Severity

High

EPSS score

0.045%
(16th percentile)

Weaknesses

CVE ID

CVE-2024-1485

GHSA ID

GHSA-84xv-jfrm-h4gm

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.