# CVE-2024-1485: Registry-support: decompress can delete files outside scope via relative paths

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.0
- **CVSS:** 8.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.27% (percentile 70, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-84xv-jfrm-h4gm, GO-2024-2576
- **Published:** 2024-02-13T23:31:14.427Z
- **Modified:** 2026-09-10T03:50:05.457Z

## 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

## 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

- Go `github.com/devfile/registry-support/registry-library`: affected \< 0.0.0-20240206; fixed 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)

## 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/advisories/GHSA-84xv-jfrm-h4gm>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-1485>
- patch: <https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d>
- patch: <https://github.com/devfile/registry-support/pull/197>
- other: <https://access.redhat.com/security/cve/CVE-2024-1485>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2264106>
- other: <https://github.com/devfile/registry-support>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-1485>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-84xv-jfrm-h4gm> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2024-2576> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-1485> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-1485>
