CVE-2024-6222 Privilege escalation in Docker Desktop
Attackers escaping a container can break out to the host via IPC messages if marketplace restrictions are disabled, requiring an upgrade to Docker Desktop.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-6222?
CVE-2024-6222 is a high-severity vulnerability in Docker Desktop, published on 9 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In Docker Desktop before v4.29.0, an attacker who has gained access to the Docker Desktop VM through a container breakout can further escape to the host by passing extensions and dashboard related IPC messages.
Docker Desktop v4.29.0 https://docs.docker.com/desktop/release-notes/#4290 fixes the issue on MacOS, Linux and Windows with Hyper-V backend.
As exploitation requires "Allow only extensions distributed through the Docker Marketplace" to be disabled, Docker Desktop v4.31.0 https://docs.docker.com/desktop/release-notes/#4310 additionally changes the default configuration to enable this setting by default.
Weakness: CWE-923
Which versions are affected by CVE-2024-6222?
It affects 1 product.
Products include Docker Desktop.
How do I fix CVE-2024-6222?
No fix has been published for CVE-2024-6222 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-6222 being exploited?
There is no known exploitation of CVE-2024-6222 in the wild and no public exploit code.
Other vulnerabilities in Docker Desktop
Sources
Also known as GHSA-77gv-24g3-732h.