CVE-2024-1485
registry-support: decompress can delete files outside scope via relative paths
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Red Hat (élevée), GHSA (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| chainguard | gitlab-rails-ce-18.1, gitlab-rails-ce-18.10, gitlab-rails-ce-18.11 et 18 autres | 18.1.6-r13 et 15 autres |
| go::GitHub Security Advisory Go | github.com/devfile/registry-support/registry-library | 0.0.0-20240206 |
Afficher les 22 entrées de 2 sources
| Source | Paquet | Corrigé 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 |
Références
- 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