CVE-2022-38730: Race Condition
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.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this Docker Desktop for Windows vulnerability?
The vulnerability ID for this Docker Desktop for Windows vulnerability is CVE-2022-38730.
What is the severity rating of CVE-2022-38730?
CVE-2022-38730 has a severity rating of 6.3, which is classified as medium.
How can attackers exploit CVE-2022-38730?
Attackers can exploit CVE-2022-38730 by controlling the data-root field inside the DaemonJSON field in the WindowsContainerStartRequest class, allowing them to overwrite any file through the windowscontainers/start dockerBackendV2 API.
Which version of Docker Desktop for Windows is affected by CVE-2022-38730?
Docker Desktop for Windows versions before 4.6.0 are affected by CVE-2022-38730.
Are there any additional resources about CVE-2022-38730?
Yes, you can find more information about CVE-2022-38730 in the Docker Desktop release notes (https://docs.docker.com/desktop/release-notes/#docker-desktop-460) and in the CyberArk threat research blog (https://www.cyberark.com/resources/threat-research-blog/breaking-docker-named-pipes-systematically-docker-desktop-privilege-escalation-part-2).