CVE-2025-54388

NameCVE-2025-54388
DescriptionMoby 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
docker.io (PTS)bullseye20.10.5+dfsg1-1+deb11u2fixed
bullseye (security)20.10.5+dfsg1-1+deb11u4fixed
bookworm20.10.24+dfsg1-1+deb12u1fixed
forky, sid, trixie26.1.5+dfsg1-9fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
docker.iosource(unstable)(not affected)

Notes

- docker.io <not-affected> (Vulnerable code introduced later)
https://github.com/moby/moby/security/advisories/GHSA-x4rx-4gw3-53p4
https://github.com/moby/moby/pull/50506
https://github.com/moby/moby/commit/bea959c7b793b32a893820b97c4eadc7c87fabb0 (v28.3.3)

Search for package or bug name: Reporting problems