Descrizione
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.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.0, EPSS 0.3% (percentile 24).
Versioni da aggiornare
- Docker Docker Engine: vulnerabili le versioni precedenti alla
29.9.3→ aggiornare alla29.9.3o successiva. - Moby Moby: vulnerabili le versioni precedenti alla
v2.0.0-beta.29→ aggiornare allav2.0.0-beta.29o successiva.
Indicazioni del vendor
Workaround (testo originale del vendor):
Configure firewalld to preserve other applications' iptables rules: use FirewallBackend=nftables with a build that includes commit b7faa74db15e2d1ebd9fdfcdc7579874d3a2fa87 (firewalld 2.0.0 or later, or the RHEL backports listed in configurations), and remove all firewalld direct configuration. Alternatively, restart dockerd after every firewalld reload, stop, or start to restore the encryption rules; this also restarts the node's Swarm tasks. As defense in depth, block incoming traffic to the VXLAN port (by default, UDP port 4789) at the Internet boundary. This prevents injection from outside the boundary but does not protect the confidentiality of traffic between nodes.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Docker | Docker Engine | < 29.9.3 | 29.9.3 |
| Moby | Moby | < v2.0.0-beta.29 | v2.0.0-beta.29 |