CVE-2024-1485
Registry-support: decompress can delete files outside scope via relative paths
Also known as GHSA-84xv-jfrm-h4gm, GO-2024-2576
Mitigation
- Upgrade github.com/devfile/registry-support/registry-library to 0.0.0-20240206 or later.
- Vendor workaround: Limit or block the parsing of devfiles from untrusted sources.
Who should check
- Projects that depend on Go package github.com/devfile/registry-support/registry-library (< 0.0.0-20240206)
- Anyone running registry-support 1.16.2
- Anyone running Red Hat OpenShift Developer Tools and Services all versions
- Anyone running Red Hat OpenShift Container Platform 4 all versions
Vulnerability facts
- Affected
- github.com/devfile/registry-support/registry-library < 0.0.0-20240206
- Fixed in
- 0.0.0-20240206
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: High
- EPSS
- 1.27% chance of exploitation in 30 days (percentile 70, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/devfile/registry-support/registry-library | < 0.0.0-20240206 | 0.0.0-20240206 | osv |
| registry-support | 1.16.2 | — | cvelist |
| Red Hat OpenShift Developer Tools and Services | all versions | — | cvelist |
| Red Hat OpenShift Container Platform 4 | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-1485. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-1485.md Affected: github.com/devfile/registry-support/registry-library < 0.0.0-20240206 Fixed in: 0.0.0-20240206 Steps: 1. Search this machine and project for github.com/devfile/registry-support/registry-library (Go), registry-support, Red Hat OpenShift Developer Tools and Services, Red Hat OpenShift Container Platform 4: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2024-1485 being exploited?
There is no confirmed exploitation: CVE-2024-1485 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-1485?
High: CVSS 8.0 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-1485?
github.com/devfile/registry-support/registry-library < 0.0.0-20240206.
Is there a fix for CVE-2024-1485?
Yes. Fixed in 0.0.0-20240206. Upgrade github.com/devfile/registry-support/registry-library to 0.0.0-20240206 or later. Vendor workaround: Limit or block the parsing of devfiles from untrusted sources.
How do I check if I'm affected by CVE-2024-1485?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.