CVE-2024-1485
registry-support: decompress can delete files outside scope via relative paths
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según Red Hat (alta), GHSA (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| chainguard | gitlab-rails-ce-18.1, gitlab-rails-ce-18.10, gitlab-rails-ce-18.11 y 18 más | 18.1.6-r13 y 15 más |
| go::GitHub Security Advisory Go | github.com/devfile/registry-support/registry-library | 0.0.0-20240206 |
Mostrar las 22 entradas de 2 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| chainguard | gitlab-rails-ce-18.1 | 18.1.6-r13 |
| chainguard | gitlab-rails-ce-18.10 | 18.10.8-r2 |
| chainguard | gitlab-rails-ce-18.11 | 18.11.5-r1 |
| chainguard | gitlab-rails-ce-18.4 | 0 |
| chainguard | gitlab-rails-ce-18.5 | 18.5.7-r1 |
| chainguard | gitlab-rails-ce-18.6 | 18.6.8-r2 |
| chainguard | gitlab-rails-ce-18.7 | 18.7.7-r2 |
| chainguard | gitlab-rails-ce-18.8 | 18.8.11-r1 |
| chainguard | gitlab-rails-ce-18.9 | 18.9.8-r3 |
| chainguard | gitlab-rails-ce-19.0 | 19.0.3-r3 |
| chainguard | gitlab-rails-ce-19.1 | 19.1.1-r4 |
| chainguard | gitlab-rails-ce-fips-18.1 | 18.1.6-r16 |
| chainguard | gitlab-rails-ce-fips-18.10 | 18.10.8-r3 |
| chainguard | gitlab-rails-ce-fips-18.11 | 18.11.5-r1 |
| chainguard | gitlab-rails-ce-fips-18.5 | 18.5.7-r1 |
| chainguard | gitlab-rails-ce-fips-18.6 | 18.6.8-r2 |
| chainguard | gitlab-rails-ce-fips-18.7 | 18.7.7-r2 |
| chainguard | gitlab-rails-ce-fips-18.8 | 18.8.11-r1 |
| chainguard | gitlab-rails-ce-fips-18.9 | 18.9.8-r1 |
| chainguard | gitlab-rails-ce-fips-19.0 | 19.0.3-r2 |
| chainguard | gitlab-rails-ce-fips-19.1 | 19.1.1-r2 |
| go::GitHub Security Advisory Go | github.com/devfile/registry-support/registry-library | 0.0.0-20240206 |
Referencias
- https://access.redhat.com/security/cve/CVE-2024-1485
- https://bugzilla.redhat.com/show_bug.cgi?id=2264106
- https://github.com/advisories/GHSA-84xv-jfrm-h4gm
- https://github.com/devfile/registry-support
- https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d
- https://github.com/devfile/registry-support/pull/197
- https://nvd.nist.gov/vuln/detail/CVE-2024-1485
- https://www.cve.org/CVERecord?id=CVE-2024-1485