cve.bz

CVE-2023-28842 mobyproject moby: Unprotected Alternate Channel

6.8 mediumEPSS 1.4%Fix available

Medium (6.8) in mobyproject moby. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/docker/docker 20.10.24, 20.10.24+incompatible, 23.0.3.

On this page
Moby) is an open source container framework developed by Docker Inc. that is distributed as Docker, Mirantis Container Runtime, and various other downstream projects/products. The Moby daemon component (`dockerd`), which is developed as moby/moby is commonly referred to as *Docker*. Swarm Mode, which is compiled in and delivered by default in `dockerd` and is thus present in most major Moby downstreams, is a simple, built-in container orchestrator that is implemented through a combination of SwarmKit and supporting network code. 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. This driver is an implementation/user of VXLAN, which encapsulates link-layer (Ethernet) frames in UDP datagrams that tag the frame with the VXLAN metadata, including a VXLAN Network ID (VNI) that identifies the originating overlay network. In addition, the overlay network driver supports an optional, off-by-default encrypted mode, which is especially useful when VXLAN packets traverses an untrusted network between nodes. Encrypted overlay networks function by encapsulating the VXLAN datagrams through the use of the IPsec Encapsulating Security Payload protocol in Transport mode. By deploying IPSec encapsulation, encrypted overlay networks gain the additional properties of source authentication through cryptographic proof, data integrity through check-summing, and confidentiality through encryption. When setting an endpoint up on an encrypted overlay network, Moby installs three iptables (Linux kernel firewall) rules that enforce both incoming and outgoing IPSec. These rules rely on the `u32` iptables extension provided by the `xt_u32` kernel module to directly filter on a VXLAN packet's VNI field, so that IPSec guarantees can be enforced on encrypted overlay networks without interfering with other overlay networks or other users of VXLAN. The `overlay` driver dynamically and lazily defines the kernel configuration for the VXLAN network on each node as containers are attached and detached. Routes and encryption parameters are only defined for destination nodes that participate in the network. The iptables rules that prevent encrypted overlay networks from accepting unencrypted packets are not created until a peer is available with which to communicate. Encrypted overlay networks silently accept cleartext VXLAN datagrams that are tagged with the VNI of an encrypted overlay network. As a result, it is possible to inject arbitrary Ethernet frames into the encrypted overlay network by encapsulating them in VXLAN datagrams. The implications of this can be quite dire, and GHSA-vwm3-crmr-xfxw should be referenced for a deeper exploration. Patches are available in Moby releases 23.0.3, and 20.10.24. As Mirantis Container Runtime's 20.10 releases are numbered differently, users of that platform should update to 20.10.16. Some workarounds are available. In multi-node clusters, deploy a global ‘pause’ container for each encrypted overlay network, on every node. For a single-node cluster, do not use overlay networks of any sort. Bridge networks provide the same connectivity on a single node and have no multi-node features. The Swarm ingress feature is implemented using an overlay network, but can be disabled by publishing ports in `host` mode instead of `ingress` mode (allowing the use of an external load balancer), and removing the `ingress` network. If encrypted overlay networks are in exclusive use, block UDP port 4789 from traffic that has not been validated by IPSec.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-755 Improper Handling of Exceptional Conditions
CWE-420 Unprotected Alternate Channel
CWE-636 Not Failing Securely (Failing Open)
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28842 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28842?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28842?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28842 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mobyproject:mobyfrom 1.12.0 before 20.10.24
mobyproject:mobyfrom 23.0.0 before 23.0.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6wrf-mxfj-pf5pGogithub.com/docker/docker>=1.12.0 <20.10.2420.10.24
GHSA-6wrf-mxfj-pf5pGogithub.com/docker/docker>=23.0.0 <23.0.323.0.3
GO-2023-1701Gogithub.com/docker/docker>=1.12.0 <20.10.24+incompatible
>=23.0.0+incompatible <23.0.3+incompatible
20.10.24+incompatible, 23.0.3+incompatible

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14docker.io20.10.24+dfsg1-1DEBIAN-CVE-2023-28842
Ubuntu22.04:LTSdocker.io-app27.5.1-0ubuntu3~22.04.2UBUNTU-CVE-2023-28842
UbuntuPro:16.04:LTSdocker.iono fix listedUBUNTU-CVE-2023-28842
UbuntuPro:18.04:LTSdocker.io20.10.21-0ubuntu1~18.04.3+esm3UBUNTU-CVE-2023-28842 USN-7474-1
UbuntuPro:20.04:LTSdocker.io20.10.21-0ubuntu1~20.04.6+esm2UBUNTU-CVE-2023-28842 USN-7474-1
UbuntuPro:20.04:LTSdocker.io-app26.1.3-0ubuntu1~20.04.1+esm1UBUNTU-CVE-2023-28842
UbuntuPro:22.04:LTSdocker.io20.10.21-0ubuntu1~22.04.7+esm2UBUNTU-CVE-2023-28842 USN-7474-1
UbuntuPro:24.04:LTSdocker.io20.10.25+dfsg1-2ubuntu1+esm2USN-7474-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 14 moredocker24.0.5_ce-150000.185.1SUSE-SU-2023:3536-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 11 moredocker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
SUSELinux Enterprise Module for Containers 12docker20.10.25_ce-98.93.1SUSE-SU-2023:3307-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.20.1SUSE-SU-2025:03540-1
openSUSELeap 15.4, Leap 15.5docker24.0.5_ce-150000.185.1SUSE-SU-2023:3536-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.25.1SUSE-SU-2025:03545-1
openSUSETumbleweeddocker24.0.5_ce-2.1openSUSE-SU-2024:13205-1
openSUSETumbleweeddocker-stable24.0.9_ce-15.1openSUSE-SU-2025:15589-1
Alpinev3.17docker20.10.24-r0ALPINE-CVE-2023-28842
Alpinev3.18, v3.19, v3.20 and 4 moredocker23.0.3-r0ALPINE-CVE-2023-28842

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This CVE affects the 'github.com/moby/moby/libnetwork/drivers/overlay' codebase which is only shipped in Fedora community products and not in any of the Red Hat products. Therefore, Red Hat products are marked as Not Affected.

ProductPackageStateAdvisory
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/addon-manager-rhel8:v2.4.4-6Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/agent-service-rhel8:v2.4.4-11Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/apiserver-network-proxy-rhel8:v2.4.4-6Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/assisted-image-service-rhel8:v2.4.4-6Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/assisted-installer-agent-rhel8:v2.4.4-8Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/assisted-installer-reporter-rhel8:v2.4.4-8Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/assisted-installer-rhel8:v2.4.4-8Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/aws-encryption-provider-rhel8:v2.4.4-6Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/backplane-rhel8-operator:v2.4.4-8Fixed 2024-03-11RHBA-2024:1246
multicluster engine for Kubernetes 2.4 for RHEL 8multicluster-engine/cluster-api-provider-agent-rhel8:v2.4.4-6Fixed 2024-03-11RHBA-2024:1246
OpenShift Service Mesh 2openshift-service-mesh/pilot-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/proxyv2-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/agent-service-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/assisted-installer-agent-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/assisted-installer-reporter-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/assisted-installer-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-release-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm-assisted-service-containerNot affected
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-db-rhel8Not affected
56 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28842.

References

Check your stackJSON