BuildKit vulnerable to malicious frontend causing file escape outside of storage root
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| moby | buildkit | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Moby | Buildkit |
|
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-6443-1 | docker.io security update |
Github GHSA |
GHSA-4c29-8rgm-jvjj | BuildKit's Malicious frontend can cause file escape outside of storage root |
Ubuntu USN |
USN-8230-1 | Docker vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.518% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mobyproject
Mobyproject buildkit |
|
| CPEs | cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Mobyproject
Mobyproject buildkit |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Moby
Moby buildkit |
|
| Vendors & Products |
Moby
Moby buildkit |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, when using a custom BuildKit frontend, the frontend can craft an API message that causes files to be written outside of the BuildKit state directory for the execution context. The issue has been fixed in v0.28.1. The vulnerability requires using an untrusted BuildKit frontend set with `#syntax` or `--build-arg BUILDKIT_SYNTAX`. Using these options with a well-known frontend image like `docker/dockerfile` is not affected. | |
| Title | BuildKit vulnerable to malicious frontend causing file escape outside of storage root | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV3_1
|