Vulnerabilidades / CVE-2024-24579

crítica

CVE-2024-24579

stereoscope vulnerable to tar path traversal when processing OCI tar archives

Publicada Modificada CWE 22
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA5.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (media).

Descripción

stereoscope is a go library for processing container images and simulating a squash filesystem. Prior to version 0.0.1, it is possible to craft an OCI tar archive that, when stereoscope attempts to unarchive the contents, will result in writing to paths outside of the unarchive temporary directory. Specifically, use of `github.com/anchore/stereoscope/pkg/file.UntarToDirectory()` function, the `github.com/anchore/stereoscope/pkg/image/oci.TarballImageProvider` struct, or the higher level `github.com/anchore/stereoscope/pkg/image.Image.Read()` function express this vulnerability. As a workaround, if you are using the OCI archive as input into stereoscope then you can switch to using an OCI layout by unarchiving the tar archive and provide the unarchived directory to stereoscope.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
chainguardgrype, k9s, kubescape y 3 más0.74.4-r0 y 5 más
go::GitHub Security Advisory Gogithub.com/anchore/stereoscope0.0.1
minimospaketo-buildpacks-bundle-install, paketo-buildpacks-bundler, paketo-buildpacks-passenger0.9.10-r0 y 2 más
wolfigrype, k9s, kubescape y 3 más0.74.4-r0 y 5 más
Mostrar las 16 entradas de 4 fuentes
FuentePaqueteCorregido en
chainguardgrype0.74.4-r0
chainguardk9s0.31.8-r0
chainguardkubescape3.0.3-r7
chainguardsyft0.103.1-r0
chainguardwolfictl0.14.13-r0
chainguardzarf0.32.3-r0
go::GitHub Security Advisory Gogithub.com/anchore/stereoscope0.0.1
minimospaketo-buildpacks-bundle-install0.9.10-r0
minimospaketo-buildpacks-bundler0.9.11-r0
minimospaketo-buildpacks-passenger0.14.23-r0
wolfigrype0.74.4-r0
wolfik9s0.31.8-r0
wolfikubescape3.0.3-r7
wolfisyft0.103.1-r0
wolfiwolfictl0.14.13-r0
wolfizarf0.32.3-r0

Referencias

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.