Ce mail provient de l'extérieur, restons vigilants

=====================================================================


                            CERT-Renater

                Note d'Information No. 2026/VULN1163
_____________________________________________________________________

DATE                : 18/11/2026

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running moby/v2 (Go) versions prior to
                                      2.0.0-beta.29,
                    Docker Engine (Docker) versions prior to 29.9.3.

====================================================================
https://github.com/moby/moby/security/advisories/GHSA-6jhp-7446-hf7f
_____________________________________________________________________


iptables rules for overlay-network encryption are not reinstalled
after a firewalld reload

High
thaJeztah published GHSA-6jhp-7446-hf7f

Package
github.com/moby/moby/v2 (Go)
Affected versions
<=v2.0.0-beta.28
Patched versions
v2.0.0-beta.29


Docker Engine (Docker)
Affected versions
< 29.9.3
Patched versions
29.9.3


Description

On Swarm hosts which use firewalld, Moby's iptables rules may be
flushed when firewalld reloads its ruleset. Moby listens for
firewalld reload events over D-Bus and reinstalls its rules.
However, the overlay driver does not hook into this infrastructure.
Encrypted overlay-network traffic is sent in cleartext and
spoofing protections for received cleartext overlay traffic are
removed until some lifecycle event triggers the overlay driver
to re-apply the rules.

The overlay network driver is a core feature of Swarm Mode, providing
isolated virtual LANs that allow communication between containers and
services across the cluster. The driver encapsulates link-layer
(Ethernet) frames in VXLAN UDP datagrams tagged with a VXLAN Network
ID (VNI) that identifies the overlay network. The overlay network
driver also supports an optional, off-by-default encrypted mode, which
protects VXLAN datagrams that traverse an untrusted network between
nodes using the IPsec Encapsulating Security Payload protocol in
Transport mode.

Encryption on an encrypted overlay network depends on iptables rules
which dockerd installs on each node when the network's first local
endpoint is set up:

    A rule in the mangle table's OUTPUT chain marks outgoing VXLAN
datagrams with the network's VNI. The kernel's IPsec policy applies
only to marked datagrams; unmarked datagrams are sent in cleartext.
    A rule at the top of the filter table's INPUT chain discards
incoming VXLAN datagrams with the network's VNI that were not
received over IPsec.

    In releases which include the fix for CVE-2026-92542 (Docker
Engine 29.8.2 and later, and 25.0.19 and later), a rule in the
mangle table's OUTPUT chain clears the mark from datagrams which
a local process has marked for encryption itself.

When firewalld is running, dockerd installs its iptables rules
through firewalld's D-Bus interface. It restores its rules when
firewalld signals that it has reloaded or started. The overlay
driver does not handle these signals, and does not restore its
encryption rules after firewalld deletes them.


Affected configurations

A node is affected when all of the following apply:

    The node is part of a Swarm and has at least one task or
container attached to an encrypted overlay network.

    firewalld is running, and its configuration is one in which
firewalld deletes other applications' iptables rules:
        firewalld is configured with FirewallBackend=iptables,
in any version; or
        firewalld is configured with FirewallBackend=nftables
(the default), and either:
            the installed firewalld does not include upstream
commit b7faa74 ("avoid iptables flush if using nftables backend").
The commit is included in firewalld 2.0.0 and later, and was
backported to firewalld-1.2.5-1.el9 (RHEL 9) and
firewalld-0.9.11-9.el8 (RHEL 8). Affected builds include those
shipped with Debian 12 (1.3.3) and Ubuntu 22.04 (1.1.1); or
            firewalld has any direct configuration of its own:
direct rules or chains (firewall-cmd --direct --add-rule, --add-chain,
or direct.xml), or tracked passthrough rules
(firewall-cmd --direct --add-passthrough). Such configuration
makes every firewalld version delete other applications' iptables
rules.

    Whether a node is affected does not depend on the
FlushAllOnReload setting.

On an affected node, the encryption rules are deleted by any of
the following events:

    firewall-cmd --reload or firewall-cmd --complete-reload,
including those run by configuration-management tools;
    stopping firewalld with CleanupOnExit=yes (the default);
    starting firewalld, including when firewalld is restarted,
for example during a package upgrade, or when firewalld is
started after dockerd.


Impact

After one of the events above, until the encryption rules are
restored, an affected node:

    sends the VXLAN datagrams of each encrypted overlay network
with a local endpoint in cleartext, exposing the traffic of
containers on that network to observers on the network path
between nodes;
    accepts cleartext VXLAN datagrams tagged with the VNI of an
encrypted overlay network, allowing an attacker who can send UDP
datagrams to the node's VXLAN port (by default, UDP port 4789) to
inject arbitrary Ethernet frames into the network, as described
in CVE-2023-28840;
    in releases which include the fix for CVE-2026-92542, allows
a process in the node's host network namespace with CAP_NET_RAW
to have datagrams which it sends to the VXLAN port encrypted using
the node's IPsec security associations.

dockerd does not log the loss of the rules. Traffic between two
affected nodes continues to flow in cleartext. A node which still
has its encryption rules discards the cleartext datagrams it
receives from an affected node, and traffic from the affected
node to that node fails. Those datagrams have still crossed the
network in cleartext. The condition persists until the encrypted
network's last local endpoint is removed and another is added, or
until dockerd is restarted. Each further firewalld event repeats
it.


Patches

Has the problem been patched? What versions should users upgrade
to?


Workarounds

    Configure firewalld to leave other applications' iptables rules
in place: use FirewallBackend=nftables with a firewalld build
that
includes commit b7faa74 (firewalld 2.0.0 or later, or the RHEL
backports listed above), and remove any firewalld direct configuration.
    Restart dockerd after every firewalld reload, stop, or start.
This reprograms the encryption rules, but also restarts the node's
Swarm tasks.
    Close the VXLAN port (by default, UDP port 4789) to incoming
traffic at the Internet boundary (see GHSA-vwm3-crmr-xfxw). This
prevents injection from outside the boundary, but does not protect
the confidentiality of traffic between nodes.


References

Are there any links users can visit to find out more?


Severity
High
7.0/ 10

CVSS v4 base metrics
Exploitability Metrics
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required None
User interaction None
Vulnerable System Impact Metrics
Confidentiality None
Integrity None
Availability None
Subsequent System Impact Metrics
Confidentiality High
Integrity High
Availability Low
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L

CVE ID
CVE-2026-115538

Weaknesses
Weakness CWE-693 

=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================




