CVE-2025-54388

Moby's Firewalld reload makes published container ports accessible from remote hosts

Published Jul 30, 2025 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
Moby is an open source container framework developed by Docker Inc. that is distributed as Docker Engine, Mirantis Container Runtime, and various other downstream projects/products. In versions 28.2.0 through 28.3.2, when the firewalld service is reloaded it removes all iptables rules including those created by Docker. While Docker should automatically recreate these rules, versions before 28.3.3 fail to recreate the specific rules that block external access to containers. This means that after a firewalld reload, containers with ports published to localhost (like 127.0.0.1:8080) become accessible from remote machines that have network routing to the Docker bridge, even though they should only be accessible from the host itself. The vulnerability only affects explicitly published ports - unpublished ports remain protected. This issue is fixed in version 28.3.3.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23167 Moby firewalld reload makes published container ports accessible from remote hosts
Github GHSA Github GHSA GHSA-x4rx-4gw3-53p4 Moby firewalld reload makes published container ports accessible from remote hosts
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Docker
Docker engine
Docker moby
Mirantis
Mirantis mirantis Container Runtime
Mobyproject
Mobyproject moby
Vendors & Products Docker
Docker engine
Docker moby
Mirantis
Mirantis mirantis Container Runtime
Mobyproject
Mobyproject moby
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Moby is an open source container framework developed by Docker Inc. that is distributed as Docker Engine, Mirantis Container Runtime, and various other downstream projects/products. In versions 28.2.0 through 28.3.2, when the firewalld service is reloaded it removes all iptables rules including those created by Docker. While Docker should automatically recreate these rules, versions before 28.3.3 fail to recreate the specific rules that block external access to containers. This means that after a firewalld reload, containers with ports published to localhost (like 127.0.0.1:8080) become accessible from remote machines that have network routing to the Docker bridge, even though they should only be accessible from the host itself. The vulnerability only affects explicitly published ports - unpublished ports remain protected. This issue is fixed in version 28.3.3.
Title Moby's Firewalld reload makes published container ports accessible from remote hosts
Weaknesses CWE-909
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 30, 2025, 1:38 PM
Reserved
Jul 21, 2025, 4:12 PM
Status
Analyzed
Published
Jul 30, 2025, 2:15 PM
Modified
Jun 17, 2026, 9:40 AM
Severity
Moderate
Public date
Jul 30, 2025, 1:24 PM