Symlink Vulnerability in Docker Desktop for Windows Allows File Overwrite

Symlink Vulnerability in Docker Desktop for Windows Allows File Overwrite

CVE-2022-38730 · MEDIUM Severity

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Docker Desktop for Windows before 4.6 allows attackers to overwrite any file through the windowscontainers/start dockerBackendV2 API by controlling the data-root field inside the DaemonJSON field in the WindowsContainerStartRequest class. This allows exploiting a symlink vulnerability in ..\dataRoot\network\files\local-kv.db because of a TOCTOU race condition.

Learn more about our Cis Benchmark Audit For Desktop Software.