{"id":"CVE-2024-1485","aliases":["GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"summary":"Registry-support: decompress can delete files outside scope via relative paths","published_at":"2024-02-05T00:00:00Z","modified_at":"2026-09-10T03:50:05.457573Z","products":[{"slug":"openshift","name":"OpenShift","category":"kubernetes-container"},{"slug":"rhel","name":"Red Hat Enterprise Linux","category":"red-hat"}],"rating":{"severity":"high","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.009349999949336052,"percentile":0.6151800155639648,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"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.","affected_stack":[{"ecosystem":"CVE","package":"Red Hat/OpenShift Developer Tools and Services","provider":"cvelistv5","source":"CVE-2024-1485","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift Container Platform 4","provider":"cvelistv5","source":"CVE-2024-1485","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift","versions":["4.0"],"provider":"nvd","source":"CVE-2024-1485","relation":"self"},{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-1485","relation":"self"}],"affected_other":[{"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20240206"}]}],"fixed":["0.0.0-20240206"],"provider":"osv","source":"GHSA-84xv-jfrm-h4gm","relation":"self"},{"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2576","relation":"self"},{"ecosystem":"NVD","package":"devfile:registry-support","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20240206"}]}],"fixed":["0.0.0-20240206"],"provider":"nvd","source":"CVE-2024-1485","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2024-1485"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-1485"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-1485","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485","license":"CC-BY-4.0","published_at":"2024-02-13T23:31:14.427Z","modified_at":"2026-08-06T18:35:34.036Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","source":"CVE-2024-1485"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/OpenShift Developer Tools and Services","provider":"cvelistv5","source":"CVE-2024-1485","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat OpenShift Container Platform 4","provider":"cvelistv5","source":"CVE-2024-1485","relation":"self"}],"product_status":[],"references":[{"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":"WEB","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"WEB","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"WEB","url":"https://github.com/devfile/registry-support/pull/197"}]},{"provider":"nvd","source_id":"CVE-2024-1485","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","severity":[],"affected":[{"ecosystem":"NVD","package":"devfile:registry-support","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20240206"}]}],"fixed":["0.0.0-20240206"],"provider":"nvd","source":"CVE-2024-1485","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift","versions":["4.0"],"provider":"nvd","source":"CVE-2024-1485","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-84xv-jfrm-h4gm","relation":"self","url":"https://osv.dev/vulnerability/GHSA-84xv-jfrm-h4gm","license":"CC-BY-4.0","published_at":"2024-02-14T00:35:42Z","modified_at":"2026-09-10T03:50:05.457573Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","source":"GHSA-84xv-jfrm-h4gm"},{"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","source":"GHSA-84xv-jfrm-h4gm"}],"affected":[{"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20240206"}]}],"fixed":["0.0.0-20240206"],"provider":"osv","source":"GHSA-84xv-jfrm-h4gm","relation":"self"}],"product_status":[],"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"}]},{"provider":"osv","source_id":"GO-2024-2576","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2576","license":"CC-BY-4.0","published_at":"2024-06-05T15:10:52Z","modified_at":"2026-06-19T18:29:29.149307Z","summary":"registry-support: decompress can delete files outside scope via relative paths in github.com/devfile/registry-support/registry-library","details":"registry-support: decompress can delete files outside scope via relative paths in github.com/devfile/registry-support/registry-library.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/devfile/registry-support/registry-library before v0.0.0-20240206.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2576","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485"},{"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":"WEB","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"WEB","url":"https://github.com/devfile/registry-support/pull/197"}]},{"provider":"redhat-vex","source_id":"CVE-2024-1485","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2024-1485","license":"CC-BY-4.0","published_at":"2024-02-05T00:00:00Z","modified_at":"2026-03-24T11:24:18Z","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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","source":"CVE-2024-1485"},{"type":"Red Hat","score":"Important","source":"CVE-2024-1485"}],"affected":[{"ecosystem":"Red Hat:ocp_tools","package":"odo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"provider":"redhat-vex","source":"CVE-2024-1485","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","cpe":"cpe:/a:redhat:ocp_tools","status":"affected","packages":["odo"],"package_count":1,"fixed":[],"advisories":[],"note":"Will not fix","provider":"redhat-vex","source":"CVE-2024-1485"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"affected","packages":["openshift4/ose-console"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2024-1485"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-1485.json"},{"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":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485"},{"type":"WEB","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"WEB","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"WEB","url":"https://github.com/devfile/registry-support/pull/197"}]}],"references":[{"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":"WEB","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm"},{"type":"WEB","url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"},{"type":"WEB","url":"https://github.com/devfile/registry-support/pull/197"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485"},{"type":"PACKAGE","url":"https://github.com/devfile/registry-support"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-1485.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-1485","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485","license":"CC-BY-4.0","modified_at":"2026-08-06T18:35:34.036Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2024-1485","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","relation":"self"},{"provider":"osv","source_id":"GHSA-84xv-jfrm-h4gm","url":"https://osv.dev/vulnerability/GHSA-84xv-jfrm-h4gm","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:05.457573Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2576","url":"https://osv.dev/vulnerability/GO-2024-2576","license":"CC-BY-4.0","modified_at":"2026-06-19T18:29:29.149307Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2024-1485","url":"https://access.redhat.com/security/cve/CVE-2024-1485","license":"CC-BY-4.0","modified_at":"2026-03-24T11:24:18Z","relation":"self"}]}
