Skip to content

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

CriticalCVSS 9.3 EPSS 0.94%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

6 packages: 1 fixed, 1 partially fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat ocp tools All versions No fix listed No fix yet
redhat openshift = 4.0; All versions No fix listed No fix yet
redhat openshift developer tools and services All versions No fix listed No fix yet
devfile github.com/devfile/registry-support/registry-library(Go) < 0.0.0-20240206; All versions 0.0.0-20240206 Partially fixed
devfile registry-support < 0.0.0-20240206 0.0.0-20240206 Fixed
registry-support = 1.16.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
devfile github.com/devfile/registry-support/registry-library(Go) < 0.0.0-20240206 0.0.0-20240206
devfile github.com/devfile/registry-support/registry-library(Go) All versions No fix listed
registry-support = 1.16.2 No fix listed
redhat ocp tools All versions No fix listed
redhat openshift All versions No fix listed
devfile registry-support < 0.0.0-20240206 0.0.0-20240206
redhat openshift = 4.0 No fix listed
redhat openshift developer tools and services All versions No fix listed

References