WCOW cache mount source selector resolves NTFS junctions outside of cache root
moby BuildKit
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| moby BuildKit Windows |
| No fix yet |
Original description
BuildKit's cache mount source= selector on Windows Container on Windows (WCOW) workers does not detect NTFS directory junctions placed inside the cache root. A build authored by an untrusted user on a WCOW-configured BuildKit daemon can read arbitrary host files reachable to the BuildKit daemon process.
From the CVE record · Docker