Docker Engine traffic encryption bypass in overlay networks
Docker Engine · Moby
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Docker Docker Engine Linux |
| No fix yet |
| Moby Moby Linux |
| No fix yet |
Original description
Moby's overlay network driver does not restore the iptables rules for encrypted overlay networks after firewalld deletes them. Unlike other Docker Engine networking components, the overlay driver does not handle firewalld reload or start signals over D-Bus. The missing rules cause outgoing VXLAN datagrams to bypass IPsec encryption and remove the protection against incoming cleartext VXLAN traffic. The condition is not logged by dockerd and persists until the encrypted network's last local endpoint is removed and another is added, or dockerd is restarted. Each further firewalld event repeats the condition.