CVE-2022-38730: Race Condition

Published Apr 27, 2023
·
Updated

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

1 affected component
Docker Desktop<4.6.0

Event History

Apr 27, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

What is the severity rating of CVE-2022-38730?

CVE-2022-38730 has a severity rating of 6.3, which is classified as medium.

3

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.

4

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.

5

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).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203