Schwachstellen / CVE-2024-24579

kritisch

CVE-2024-24579

stereoscope vulnerable to tar path traversal when processing OCI tar archives

Veröffentlicht Geändert CWE 22
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

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

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (mittel).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
chainguardgrype, k9s, kubescape und 3 weitere0.74.4-r0 und 5 weitere
go::GitHub Security Advisory Gogithub.com/anchore/stereoscope0.0.1
minimospaketo-buildpacks-bundle-install, paketo-buildpacks-bundler, paketo-buildpacks-passenger0.9.10-r0 und 2 weitere
wolfigrype, k9s, kubescape und 3 weitere0.74.4-r0 und 5 weitere
Alle 16 Einträge aus 4 Quellen zeigen
QuellePaketBehoben in
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

Referenzen

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.