CVE-2024-1485: registry-support: decompress can delete files outside scope via relative paths
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.
Published Feb 14, 2024 · Updated Feb 27, 2026
Affected packages
github.com/devfile/registry-support/registry-library
- Ecosystem
- Go
- Affected
- < 0.0.0-20240206
- Fixed in
- 0.0.0-20240206
- Check
go list -m github.com/devfile/registry-support/registry-library
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to cebarks.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1485
- https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d
- https://access.redhat.com/security/cve/CVE-2024-1485
- https://bugzilla.redhat.com/show_bug.cgi?id=2264106
- https://github.com/devfile/registry-support/pull/197
- https://github.com/advisories/GHSA-84xv-jfrm-h4gm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
