Vulnérabilités / CVE-2024-24579

critique

CVE-2024-24579

stereoscope vulnerable to tar path traversal when processing OCI tar archives

Publiée Modifiée CWE 22
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (moyenne).

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
chainguardgrype, k9s, kubescape et 3 autres0.74.4-r0 et 5 autres
go::GitHub Security Advisory Gogithub.com/anchore/stereoscope0.0.1
minimospaketo-buildpacks-bundle-install, paketo-buildpacks-bundler, paketo-buildpacks-passenger0.9.10-r0 et 2 autres
wolfigrype, k9s, kubescape et 3 autres0.74.4-r0 et 5 autres
Afficher les 16 entrées de 4 sources
SourcePaquetCorrigé 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

Références

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.