{"id":"GHSA-84xv-jfrm-h4gm","summary":"registry-support: decompress can delete files outside scope via relative paths","details":"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.","aliases":["CVE-2024-1485","GO-2024-2576"],"modified":"2026-07-17T21:05:46.230361805Z","published":"2024-02-14T00:35:42Z","database_specific":{"nvd_published_at":"2024-02-14T00:15:46Z","cwe_ids":["CWE-22","CWE-23","CWE-73"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-02-21T23:18:42Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485"},{"type":"WEB","url":"https://github.com/devfile/registry-support/pull/197"},{"type":"WEB","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2024-1485"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2264106"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"PACKAGE","url":"https://github.com/devfile/registry-support"}],"affected":[{"package":{"name":"github.com/devfile/registry-support/registry-library","ecosystem":"Go","purl":"pkg:golang/github.com/devfile/registry-support/registry-library"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20240206"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-84xv-jfrm-h4gm/GHSA-84xv-jfrm-h4gm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}