Skip to content
Fencer Vulns
high 8.0

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

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 odo
    affected: workaround, no fix planned “Limit or block the parsing of devfiles from untrusted sources.”
  • Red Hat OpenShift Container Platform 4 openshift4/ose-console
    affected: 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

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-23 Relative Path Traversal
  • CWE-73 External Control of File Name or Path

References

Sources

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.