{"id":"CVE-2024-1485","summary":"Registry-support: decompress can delete files outside scope via relative paths","details":"A flaw was found in the decompression function of registry-support. This issue can be triggered if an unauthenticated remote attacker tricks a user into parsing a devfile which uses the `parent` or `plugin` keywords. This could download a malicious archive and cause the cleanup process to overwrite or delete files outside of the archive, which should not be allowed.","aliases":["GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"modified":"2026-08-12T03:51:19.422212043Z","published":"2024-02-13T23:31:14.427Z","related":["CGA-qhpx-gchc-5xh9"],"database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"1.16.2"},{"last_affected":"1.16.2"}]}],"cna_assigner":"redhat","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1485.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-1485"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1485.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2264106"},{"type":"FIX","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"FIX","url":"https://github.com/devfile/registry-support/pull/197"},{"type":"PACKAGE","url":"https://github.com/devfile/registry-support"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/devfile/registry-support","events":[{"introduced":"0"},{"fixed":"0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1485.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"}]}