Docker Desktop host-address impersonation through overlapping container networks
Summary
Docker Desktop versions before 4.101.0 insufficiently restricted internal network addresses, allowing a malicious container to impersonate the host endpoint used by host.docker.internal. A user-defined bridge network encompassing the internal IPv4 network could bypass subnet checks, and the internal...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DockerDocker Desktop |
< 4.101.0→ 4.101.0 |
4.101.0 |
Original description The description as published by the source.
Docker Desktop versions before 4.101.0 insufficiently restricted internal network addresses, allowing a malicious container to impersonate the host endpoint used by host.docker.internal. A user-defined bridge network encompassing the internal IPv4 network could bypass subnet checks, and the internal IPv6 address range was also insufficiently restricted. A victim container on the overlapping network could send host-service traffic to the malicious container, exposing unencrypted requests, potentially including credentials, and receiving attacker-controlled responses. Exploitation requires permission to configure Docker networks and container addresses, or a user running a crafted Compose project or Docker Extension. The issue affects Linux containers on Windows, macOS and Linux and is fixed in Docker Desktop 4.101.0.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web docs.docker.com