CVE-2022-38730 Race condition in n/a

Medium 6.3 Published Updated

Attackers can overwrite arbitrary files via a TOCTOU race condition in Docker Desktop for Windows, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-38730?

CVE-2022-38730 is a medium-severity vulnerability in n/a, published on 27 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-367, CWE-59

Which versions are affected by CVE-2022-38730?

It affects 1 product.

Products include Docker Desktop.

How do I fix CVE-2022-38730?

No fix has been published for CVE-2022-38730 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-38730 being exploited?

There is no known exploitation of CVE-2022-38730 in the wild and no public exploit code.

Sources

Also known as GHSA-pmgh-8j9v-4xhf.

Is CVE-2022-38730 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free