{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-1485","id":"CVE-2024-1485","title":"Registry-support: decompress can delete files outside scope via relative paths","description":"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.","descriptionLong":"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.","published":"2024-02-13T23:31:14.427Z","updated":"2026-10-28T02:30:21.405960159Z","reserved":"2024-02-13T21:47:23.979Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"4.0","score":null,"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":"high","source":"GitHub"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"high","source":"redhat.com"},{"version":"3.1","score":9.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["registry-support","Red Hat OpenShift Developer Tools and Services","Red Hat OpenShift Container Platform 4"],"affectedProducts":[{"vendor":"","product":"registry-support","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.16.2"}],"platforms":[]},{"vendor":"Red Hat","product":"OpenShift Developer Tools and Services","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/devfile/registry-support/registry-library","purl":"pkg:golang/github.com/devfile/registry-support/registry-library","ranges":["<0.0.0-20240206","all versions"],"fixed":["0.0.0-20240206"],"advisory":"GHSA-84xv-jfrm-h4gm"}],"cwes":["CWE-22","CWE-23","CWE-73"],"aliases":["GHSA-84xv-jfrm-h4gm","GO-2024-2576"],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-1485","tags":["vdb-entry","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2264106","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/devfile/registry-support/pull/197","tags":["x_transferred","Patch","fix","web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1485.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","tags":["advisory"]},{"url":"https://github.com/devfile/registry-support","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00935,"epssPercentile":0.61518,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-1485","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1485","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-1485","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-84xv-jfrm-h4gm","ok":true,"note":"GHSA-84xv-jfrm-h4gm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-1485","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}