CVE-2023-0629: Docker Desktop before 4.17.0 allows an unprivileged user to bypass Enhanced Container Isolation restrictions via the raw Docker socket and launch privileged containers
Docker Desktop before 4.17.0 allows an unprivileged user to bypass Enhanced Container Isolation (ECI) restrictions by setting the Docker host to docker.raw.sock, or npipe:////.pipe/dockerenginelinux on Windows, via the -H (--host) CLI flag or the DOCKERHOST environment variable and launch containers without the additional hardening features provided by ECI. This would not affect already running containers, nor containers launched through the usual approach (without Docker's raw socket).
The affected functionality is available for Docker Business customers only and assumes an environment where users are not granted local root or Administrator privileges. This issue has been fixed in Docker Desktop 4.17.0.
Affected Docker Desktop versions: from 4.13.0 before 4.17.0.
Affected Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this Docker Desktop vulnerability?
The vulnerability ID for this Docker Desktop vulnerability is CVE-2023-0629.
What is the severity level of CVE-2023-0629?
The severity level of CVE-2023-0629 is high (7.1).
How can an unprivileged user bypass Enhanced Container Isolation (ECI) restrictions in Docker Desktop?
An unprivileged user can bypass Enhanced Container Isolation (ECI) restrictions in Docker Desktop by setting the Docker host to docker.raw.sock, or npipe:////.pipe/docker_engine_linux on Windows, via the -H (--host) CLI flag or the DOCKER_HOST environment variable and launch containers.
Is Docker Desktop version 4.17.0 affected by this vulnerability?
No, Docker Desktop version 4.17.0 is not affected by this vulnerability.
Where can I find more information about this vulnerability?
You can find more information about this vulnerability at the following reference: https://docs.docker.com/desktop/release-notes/#4170