Vulnerability · Published Feb 13, 2024 · Assigned by redhat

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

High 8.0

In plain English

A high-severity path traversal in registry-support. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)0.9%top 38.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/devfile/registry-support/registry-library0.0.0-20240206GHSA-84xv-jfrm-h4gm
Gogithub.com/devfile/registry-support/registry-libraryno fix listedGO-2024-2576

Affected products (as reported)

VendorProductVersions
registry-support 1.16.2
Red Hat OpenShift Developer Tools and Services see references
Red Hat Red Hat OpenShift Container Platform 4 see references

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H

References