Zafiyetler / CVE-2024-24579

kritik

CVE-2024-24579

stereoscope vulnerable to tar path traversal when processing OCI tar archives

Yayın Değişiklik CWE 22
En geç 24 Eki 2026, 07:11 UTC tarihinden beri Trivy database'indeO derlemeden önce ne zaman girdiği kayıtlı değil.

Kaynağa göre önem derecesi

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

Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD. Daha düşük diyenler: GHSA (orta).

Açıklama

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.

Etkilenen paketler ve düzeltilmiş sürümler

KaynakPaketDüzeltildiği sürüm
chainguardgrype, k9s, kubescape ve 3 tane daha0.74.4-r0 ve 5 tane daha
go::GitHub Security Advisory Gogithub.com/anchore/stereoscope0.0.1
minimospaketo-buildpacks-bundle-install, paketo-buildpacks-bundler, paketo-buildpacks-passenger0.9.10-r0 ve 2 tane daha
wolfigrype, k9s, kubescape ve 3 tane daha0.74.4-r0 ve 5 tane daha
4 kaynaktaki 16 kaydın hepsini göster
KaynakPaketDüzeltildiği sürüm
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

Referanslar

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.