Docker Buildx data exposure in Bake filesystem entitlement checks
Docker Buildx
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Docker Docker Buildx |
| No fix yet |
Original description
In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, paths under the same parent directory as the current working directory whose names use the working directory's basename as a prefix can skip the filesystem entitlement check. Exploitation requires specific matching filenames next to the current project directory. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.
From the CVE record · Docker