{"id":"CVE-2024-1485","published":"2024-02-13T23:31:14Z","modified":"2026-08-06T18:35:34Z","title":"Registry-support: decompress can delete files outside scope via relative paths","vendor":"Red Hat","product":"OpenShift Developer Tools and Services","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00935,"percentile":0.61636,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-1485","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2264106","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm","tags":[]},{"url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d","tags":[]},{"url":"https://github.com/devfile/registry-support/pull/197","tags":[]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":12.33},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["1.16.2"]},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["Limit or block the parsing of devfiles from untrusted sources."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-21T20:39:09.253403Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","vulnerableRanges":["<0.0.0-20240206","all versions"],"patched":["0.0.0-20240206"],"from":["GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"provenance":"source"}],"summary":{"text":"A flaw in the decompression function of registry-support, a component of Red Hat's OpenShift Developer Tools and Services, allows files to be written or removed outside the intended archive location due to improper restriction of pathnames. An unauthenticated remote attacker can exploit this by tricking a user into parsing a devfile that uses the parent or plugin keywords, which causes a malicious archive to be downloaded and its cleanup process to overwrite or delete files beyond the archive's scope, requiring user interaction but no prior authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:24Z"},"euvd":{"id":"EUVD-2024-0570","exploited":false,"provenance":"source"}}