Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54388
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:18 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 30 Jul 2025, 13:24 UTC

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.

osv:CVE-2025-54388
Complete source record
{
  "id": "0fb4834d008071ce48f9b0cbec010e2618703a72b5e4ff61e6d6cfdfe8dd503b",
  "url": "https://osv.dev/vulnerability/CVE-2025-54388",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Moby's Firewalld reload makes published container ports accessible from remote hosts",
    "summary": "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.",
    "evidence": "osv:CVE-2025-54388",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-54388",
      "aliases": [
        "CVE-2025-54388",
        "GHSA-x4rx-4gw3-53p4",
        "GO-2025-3830"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/moby/moby",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0e2cc22d36ae3013f83863c8da2e1b808f25e78e"
                },
                {
                  "fixed": "bea959c7b793b32a893820b97c4eadc7c87fabb0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "28.2.0"
                      },
                      {
                        "fixed": "28.3.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bea959c7b793b32a893820b97c4eadc7c87fabb0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "cpe": "cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "28.2.0"
                      },
                      {
                        "fixed": "28.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v28.3.2",
            "v28.3.1",
            "v28.3.0-rc.2",
            "v28.3.0",
            "v28.3.0-rc.1",
            "v28.2.2",
            "v28.2.1",
            "v28.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54388.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.557770474Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54388.json",
        "https://github.com/moby/moby/security/advisories/GHSA-x4rx-4gw3-53p4",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54388",
        "https://github.com/moby/moby/commit/bea959c7b793b32a893820b97c4eadc7c87fabb0",
        "https://github.com/moby/moby/pull/50506"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-909"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54388.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54388",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508980,
  "published_at": "2025-07-30T13:24:06.849+00:00"
}