Description
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.
Vendor solution
Update Docker Desktop to version 4.101.0 or later.
Vendor workaround
Only run trusted Compose projects and Docker Extensions. Remove user-defined networks that overlap Docker Desktop's internal IPv4 or IPv6 networks and containers configured to use reserved internal addresses. Use TLS with certificate validation for sensitive host-service communications.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None (no login)
- User interaction
- Active
- Confidentiality
- High impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-923 Improper Restriction of Communication Channel to Intended Endpoints
References
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.