Medium, CVSS 4.6GoPublished
registry-support: decompress can delete files outside scope via relative paths
CVE-2024-1485 · GHSA-84xv-jfrm-h4gm
- Affected
- Go github.com/devfile/registry-support/registry-library < 0.0.0-20240206
- Fixed in
- 0.0.0-20240206· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.0.0-20240206 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.