Vulnerabilities / CVE-2024-1485

critical

CVE-2024-1485

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

Published Modified CWE 22
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H
GHSA4.6CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H
Red Hat8.0CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), GHSA (medium).

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 and fixed versions

SourcePackageFixed in
chainguardgitlab-rails-ce-18.1, gitlab-rails-ce-18.10, gitlab-rails-ce-18.11 and 18 more18.1.6-r13 and 15 more
go::GitHub Security Advisory Gogithub.com/devfile/registry-support/registry-library0.0.0-20240206
Show all 22 entries from 2 sources
SourcePackageFixed in
chainguardgitlab-rails-ce-18.118.1.6-r13
chainguardgitlab-rails-ce-18.1018.10.8-r2
chainguardgitlab-rails-ce-18.1118.11.5-r1
chainguardgitlab-rails-ce-18.40
chainguardgitlab-rails-ce-18.518.5.7-r1
chainguardgitlab-rails-ce-18.618.6.8-r2
chainguardgitlab-rails-ce-18.718.7.7-r2
chainguardgitlab-rails-ce-18.818.8.11-r1
chainguardgitlab-rails-ce-18.918.9.8-r3
chainguardgitlab-rails-ce-19.019.0.3-r3
chainguardgitlab-rails-ce-19.119.1.1-r4
chainguardgitlab-rails-ce-fips-18.118.1.6-r16
chainguardgitlab-rails-ce-fips-18.1018.10.8-r3
chainguardgitlab-rails-ce-fips-18.1118.11.5-r1
chainguardgitlab-rails-ce-fips-18.518.5.7-r1
chainguardgitlab-rails-ce-fips-18.618.6.8-r2
chainguardgitlab-rails-ce-fips-18.718.7.7-r2
chainguardgitlab-rails-ce-fips-18.818.8.11-r1
chainguardgitlab-rails-ce-fips-18.918.9.8-r1
chainguardgitlab-rails-ce-fips-19.019.0.3-r2
chainguardgitlab-rails-ce-fips-19.119.1.1-r2
go::GitHub Security Advisory Gogithub.com/devfile/registry-support/registry-library0.0.0-20240206

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.