CVE-2024-1485 json
Registry-support: decompress can delete files outside scope via relative paths
published 2024-02-13 2 y ago modified 2026-09-10 1 mo ago also GHSA-84xv-jfrm-h4gm , GO-2024-2576 , EUVD-2024-0570
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/devfile/registry-support/registry-library 0.0.0-20240206
- devfile registry-support 0.0.0-20240206
- github.com/devfile/registry-support@0e44b9c commit
- github.com/devfile/registry-support#197 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-1485 updated cvss 8.0
registry-support: decompress can delete files outside scope via relative paths
-
Red Hat OpenShift Developer Tools and Services odoaffected: workaround, no fix planned “Limit or block the parsing of devfiles from untrusted sources.”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-consoleaffected: workaround, no fix available “Limit or block the parsing of devfiles from untrusted sources.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H |
| NVD | 3.1 | 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H |
| GitHub | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/devfile/registry-support/registry-library | <0.0.0-20240206 all versions |
0.0.0-20240206 |
Affected products
- Red Hat OpenShift Developer Tools and Services
- Red Hat Red Hat OpenShift Container Platform 4
Classification
References
-
github.com
/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d
web, patch
-
github.com
/devfile/registry-support/pull/197
web, patch
-
access.redhat.com
/security/cve/CVE-2024-1485
vdb-entry, web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2264106
issue-tracking, web, third-party-advisory
-
github.com
/advisories/GHSA-84xv-jfrm-h4gm
advisory, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-1485
advisory
-
github.com
/devfile/registry-support
package
Sources
- CVE List CVE-2024-1485
- GitHub Advisory GHSA-84xv-jfrm-h4gm
- NVD CVE-2024-1485
- OSV GO-2024-2576
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.