Em resumo
- CVE-2026-61712 é uma vulnerabilidade BAIXO (CVSS 2.3) que afeta github.com/moby/buildkit.
- Chance de exploração nos próximos 30 dias (EPSS): 0.40%, maior que 34.1% das vulnerabilidades.
- Correção: atualize para 0.31.1 ou posterior.
Description
Impact
Maliciously crafted base image or build can cause a Denial of Service (DoS) condition. When creating a container from this image, memory exhaustion occurs, leading to an Out Of Memory (OOM) kill of the buildkitd process.
Patches
Issue is fixed in BuildKit v0.31.1+
Workarounds
Use trusted build sources.
References
This is BuildKit variant of containerd advisory https://github.com/containerd/containerd/security/advisories/GHSA-jpcc-p29g-p8mq
NVD description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.1, BuildKit read attacker-controlled /etc/passwd and /etc/group files without an upper bound while resolving a username to a user identifier or group identifier in executor/oci/user.go and solver/llbsolver/ops/user_linux.go. A malicious base image or build could provide oversized files that exhausted memory during user resolution and caused out-of-memory termination of the buildkitd process. This issue is fixed in version 0.31.1.
Mais vulnerabilidades de github.com/moby/buildkit
Ver tudo →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free