A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /moby/buildkit/commit/408266e4ba254cecabedaacdad6905de4d2a7…
- github.com /moby/buildkit/commit/69a3924648e485acb3faad3081e03a8554431…
- github.com /moby/buildkit/releases/tag/v0.31.1
- github.com /moby/buildkit/security/advisories/GHSA-72x6-4j93-7w86
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning