{"id":"CVE-2024-1485","aliases":["CVE-2024-1485","GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"related":["CGA-qhpx-gchc-5xh9"],"kind":"vulnerability","state":"published","title":"Registry-support: decompress can delete files outside scope via relative paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Se encontró una vulnerabilidad en la función de descompresión del soporte de registro. Este problema puede ser desencadenado por un atacante remoto no autenticado al engañar a un usuario para que abra un archivo .tar especialmente modificado, lo que lleva al proceso de limpieza a seguir rutas relativas para sobrescribir o eliminar archivos fuera del alcance previsto.","source":"nvd"}],"published":"2024-02-13T23:31:14.427Z","modified":"2026-11-26T13:26:24.325Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","score":8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-22","CWE-23","CWE-73"],"affected":[{"ranges":[{"version":"1.16.2","status":"affected"}],"package":"registry-support","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","package":"odo","cpe":"cpe:/a:redhat:ocp_tools","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift4/ose-console","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20240206"}],"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","source":"go"},{"ranges":[{"status":"affected","fixed":"0.0.0-20240206"}],"vendor":"devfile","product":"registry-support","cpe":"cpe:2.3:a:devfile:registry-support:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"4.0"}],"vendor":"redhat","product":"openshift","cpe":"cpe:2.3:a:redhat:openshift:4.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"openshift_developer_tools_and_services","cpe":"cpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-1485","tags":["third-party-advisory","vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2264106","tags":["issue-tracking","third-party-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/devfile/registry-support/pull/197","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/devfile/registry-support","tags":["package"],"sources":["ghsa"]}],"credits":["Red Hat would like to thank Joern Schneeweisz (GitLab Security Research Team) for reporting this issue."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-21T20:39:09.253Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1485","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485","licence":"CVE Terms of Use","modified":"2026-11-26T13:26:24.325Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-84xv-jfrm-h4gm","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.457Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2576","url":"https://pkg.go.dev/vuln/GO-2024-2576","licence":"CC-BY-4.0","modified":"2026-06-19T18:29:29.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1485","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","licence":"Public domain","modified":"2026-06-17T07:04:20.707Z"}],"updatedAt":"2026-11-26T13:32:22.223Z","epss":{"score":0.00935,"percentile":0.61792,"date":"2026-12-01T12:00:22.000Z"}}