Moby BuildKit
Git source checkout from a bundle file could lead to command injection
BuildKit custom frontends or clients using the raw low-level API can set git.checkoutbundle=true when checking out Git sources. If the Git source is malicious, this could lead to a crafted command invocation on the host.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-88
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
moby BuildKit
- >= 0.30.0, <= 0.31.1
Mitigation
The record names no fix. Check the vendor advisory below.
Workaround
The issue requires using a custom frontend together with a malicious Git source. Current Dockerfile builds are not affected.
References
- Vendor advisory github.com/moby/buildkit/security/advisories/G…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.