Schwachstellen / CVE-2024-23652

kritisch

CVE-2024-23652

moby/buildkit: possible host system access from mount stub cleaner

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.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GHSA10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Red Hat7.8CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Azure Linux, CBL-Mariner. Niedriger laut Red Hat (hoch), Amazon (hoch), Bottlerocket (hoch), Ubuntu (mittel).

Beschreibung

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
Azure Linux 3.0moby-engine0:25.0.3-1.azl3
CBL-Mariner 2.0moby-engine0:20.10.27-4.cm2
go::GitHub Security Advisory Gogithub.com/moby/buildkit0.12.5
alpine 3.18docker25.0.2-r0
alpine 3.19buildkit, docker, singularity0.12.5-r0 und 2 weitere
alpine 3.20buildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
alpine 3.21buildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
alpine 3.22buildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
alpine 3.23buildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
alpine 3.24buildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
alpine edgebuildkit, docker, podman und 1 weitere0.12.5-r0 und 3 weitere
amazon linux 2023docker, docker-debuginfo, docker-debugsource25.0.3-1.amzn2023.0.1
Alle 67 Einträge aus 23 Quellen zeigen
QuellePaketBehoben in
Azure Linux 3.0moby-engine0:25.0.3-1.azl3
CBL-Mariner 2.0moby-engine0:20.10.27-4.cm2
go::GitHub Security Advisory Gogithub.com/moby/buildkit0.12.5
alpine 3.18docker25.0.2-r0
alpine 3.19buildkit0.12.5-r0
alpine 3.19docker25.0.2-r0
alpine 3.19singularity4.1.1-r0
alpine 3.20buildkit0.12.5-r0
alpine 3.20docker25.0.2-r0
alpine 3.20podman4.9.2-r0
alpine 3.20singularity4.1.1-r0
alpine 3.21buildkit0.12.5-r0
alpine 3.21docker25.0.2-r0
alpine 3.21podman4.9.2-r0
alpine 3.21singularity4.1.1-r0
alpine 3.22buildkit0.12.5-r0
alpine 3.22docker25.0.2-r0
alpine 3.22podman4.9.2-r0
alpine 3.22singularity4.1.1-r0
alpine 3.23buildkit0.12.5-r0
alpine 3.23docker25.0.2-r0
alpine 3.23podman4.9.2-r0
alpine 3.23singularity4.1.1-r0
alpine 3.24buildkit0.12.5-r0
alpine 3.24docker25.0.2-r0
alpine 3.24podman4.9.2-r0
alpine 3.24singularity4.1.1-r0
alpine edgebuildkit0.12.5-r0
alpine edgedocker25.0.2-r0
alpine edgepodman4.9.2-r0
alpine edgesingularity4.1.1-r0
amazon linux 2023docker25.0.3-1.amzn2023.0.1
amazon linux 2023docker-debuginfo25.0.3-1.amzn2023.0.1
amazon linux 2023docker-debugsource25.0.3-1.amzn2023.0.1
bottlerocketdocker-engine1.19.1-c325a08b
chainguardbuildkitd0.12.5-r0
chainguardconftest0.49.0-r1
chainguardconftest-fips0.48.0-r2
chainguarddocker25.0.2-r0
chainguardguac0.4.0-r1
chainguardkaniko1.20.1-r0
chainguardkubescape3.0.3-r7
chainguardscorecard4.13.1-r4
chainguardskaffold2.11.0-r0
chainguardtrivy0.49.0-r1
chainguardzot2.0.1-r2
rapidfort amazon linux 2023docker25.0.3-1.amzn2023.0.1
rapidfort ubuntu 20.04docker.io0:26.1.5+dfsg1-9ubuntu1
rapidfort ubuntu 22.04docker.io0:26.1.5+dfsg1-9ubuntu1
rapidfort ubuntu 24.04docker.io0:26.1.5+dfsg1-9ubuntu1
ubuntu 18.04-ESMdocker.io20.10.21-0ubuntu1~18.04.3+esm3
ubuntu 20.04-ESMdocker.io20.10.21-0ubuntu1~20.04.6+esm2
ubuntu 20.04-ESMdocker.io-app26.1.3-0ubuntu1~20.04.1+esm1
ubuntu 22.04docker.iokein Fix angegeben
ubuntu 22.04docker.io-app27.5.1-0ubuntu3~22.04.2
ubuntu 24.04docker.iokein Fix angegeben
ubuntu 24.04docker.io-app27.5.1-0ubuntu3~24.04.2
wolfibuildkitd0.12.5-r0
wolficonftest0.49.0-r1
wolfidocker25.0.2-r0
wolfiguac0.4.0-r1
wolfikaniko1.20.1-r0
wolfikubescape3.0.3-r7
wolfiscorecard4.13.1-r4
wolfiskaffold2.11.0-r0
wolfitrivy0.49.0-r1
wolfizot2.0.1-r2

Referenzen

Alle 12 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.