Registry-support: decompress can delete files outside scope via relative paths (registry-support)

CVE-2024-1485
HIGH 8.0

At a glance

Source
NVD
EPSS
EPSS 0.94 % · percentile 61 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-22 — Improper Limitation of a Pathname to a Restricted Directory

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:Hredhat
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:HNVD · nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
registry-supportaffected 1.16.2
Red Hat · OpenShift Developer Tools and Services
Red Hat · Red Hat OpenShift Container Platform 4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD