Impact
BuildKit incorrectly handles special file inodes during snapshot operations. When a build references a path that resolves to a special file instead of a regular file, BuildKit may perform actions assuming a regular file, causing file operations to be blocked or, on a rooted worker, granting unintended access to host devices. This can lead to denial of service or privilege escalation for the build process.
Affected Systems
BuildKit by moby is affected. Version information is not specified, but the advisory references the release v0.33.1 where the fix was applied.
Risk and Exploitability
The vulnerability carries a CVSS score of 6, indicating moderate severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog. Attackers would need to supply an untrusted build that includes special file inodes; on rootful BuildKit workers this can lead to host device access, whereas on rootless workers the impact is limited to denial of service. Rootless mode mitigates device access but does not prevent denial of service. Updating to a patched version is the recommended mitigation.
OpenCVE Enrichment