cve.bz

CVE-2023-28840 mobyproject moby: Observable Discrepancy

8.7 highExploit referenceEPSS 2.6%Fix available

High (8.7) in mobyproject moby. EPSS 2.6% 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 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. Two iptables rules serve to filter incoming VXLAN datagrams with a VNI that corresponds to an encrypted network and discards unencrypted datagrams. The rules are appended to the end of the INPUT filter chain, following any rules that have been previously set by the system administrator. Administrator-set rules take precedence over the rules Moby sets to discard unencrypted VXLAN datagrams, which can potentially admit unencrypted datagrams that should have been discarded. The injection of arbitrary Ethernet frames can enable a Denial of Service attack. A sophisticated attacker may be able to establish a UDP or TCP connection by way of the container’s outbound gateway that would otherwise be blocked by a stateful firewall, or carry out other escalations beyond simple injection by smuggling packets into the overlay network. 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. Close the VXLAN port (by default, UDP port 4789) to incoming traffic at the Internet boundary to prevent all VXLAN packet injection, and/or ensure that the `xt_u32` kernel module is available on all nodes of the Swarm cluster.

Severity

CVSS 3.1

8.7 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th 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-203 Observable Discrepancy
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-28840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28840?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28840?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-28840 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-232p-vwff-86mpGogithub.com/docker/docker>=1.12.0 <20.10.2420.10.24
GHSA-232p-vwff-86mpGogithub.com/docker/docker>=23.0.0 <23.0.323.0.3
GO-2023-1699Gogithub.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-28840
UbuntuPro:16.04:LTSdocker.iono fix listedUBUNTU-CVE-2023-28840
UbuntuPro:18.04:LTSdocker.io20.10.21-0ubuntu1~18.04.3+esm3UBUNTU-CVE-2023-28840 USN-7474-1
UbuntuPro:20.04:LTSdocker.io20.10.21-0ubuntu1~20.04.6+esm2UBUNTU-CVE-2023-28840 USN-7474-1
UbuntuPro:20.04:LTS, Pro:22.04:LTSdocker.io-appno fix listedUBUNTU-CVE-2023-28840
UbuntuPro:22.04:LTSdocker.io20.10.21-0ubuntu1~22.04.7+esm2UBUNTU-CVE-2023-28840 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-compose2.17.3-1.1openSUSE-SU-2024:12876-1
openSUSETumbleweeddocker-stable24.0.9_ce-15.1openSUSE-SU-2025:15589-1
openSUSETumbleweedkubescape2.3.6-1.1openSUSE-SU-2024:13005-1
Alpinev3.17docker20.10.24-r0ALPINE-CVE-2023-28840
Alpinev3.18, v3.19, v3.20 and 4 moredocker23.0.3-r0ALPINE-CVE-2023-28840

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 Important.

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
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel8-operatorNot affected
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Not affected
OpenShift Service Mesh 2openshift-service-mesh/istio-rhel8-operatorNot affected
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
60 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-28840.

Attack patterns (CAPEC)

  • CAPEC-189 Black Box Reverse Engineering Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON