Symlink Vulnerability in Docker Desktop for Windows by Docker
CVE-2022-38730
6.3MEDIUM
What is CVE-2022-38730?
Docker Desktop for Windows prior to version 4.6 is susceptible to a symlink vulnerability that allows attackers to overwrite arbitrary files. This exploit leverages a flaw in the windowscontainers/start dockerBackendV2 API, where improperly controlled inputs in the data-root field of the DaemonJSON configuration can lead to unintended consequences. Specifically, an adversary can exploit a Time of Check to Time of Use (TOCTOU) condition within the local-kv.db file located in the dataRoot path, opening a gateway for unauthorized manipulation of files on the host system.