~ / search / GHSA-84xv-jfrm-h4gm

GHSA-84xv-jfrm-h4gm

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-1485

Packages

EcosystemPackageAffectedFixed in
Go github.com/devfile/registry-support/registry-library < 0.0.0-20240206 0.0.0-20240206

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.