一、 漏洞 CVE-2025-54388 基础信息
漏洞信息
                                        # Moby Firewalld 重载端口暴露漏洞

## 概述

Moby 是由 Docker Inc. 开发的一个开源容器框架,作为 Docker Engine、Mirantis Container Runtime 及其它下游项目/产品发布。在特定版本中,当 firewalld 服务重新加载时,会导致 Docker 创建的 iptables 规则被删除且未完全恢复。

## 影响版本

受影响版本:28.2.0 至 28.3.2  
修复版本:28.3.3

## 细节

当 firewalld 服务被重新加载时,它会清除所有 iptables 规则,包括由 Docker 创建的规则。正常情况下 Docker 应能自动恢复这些规则,但在 28.3.3 之前的版本中,**未正确重建阻止外部访问容器的规则**。

因此,如果容器端口被发布到 localhost(如 `127.0.0.1:8080`),在 firewalld 重载后,这些端口可能**从远程机器访问到**,只要远程机器可以路由到 Docker 网桥网络。

## 影响

该漏洞使得本应仅限于本地访问的容器端口,在 firewalld 重载后可能**对外部网络开放**,从而增加未授权访问的风险。  
**仅影响显式发布(exposed/published)的端口**,未发布的容器端口仍然受保护。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Moby's Firewalld reload makes published container ports accessible from remote hosts
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
资源初始化缺失
来源:美国国家漏洞数据库 NVD
漏洞标题
Moby 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Moby是Moby开源的一个开源项目。旨在推动软件的容器化,并帮助生态系统使容器技术主流化。 Moby 28.2.0至28.3.2版本存在安全漏洞,该漏洞源于firewalld服务重新加载时未重新创建iptables规则,可能导致容器端口暴露。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-54388 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-54388 的情报信息
  • 标题: [28.x backport] Fix firewalld reload for per-endpoint rules by robmry · Pull Request #50506 · moby/moby · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • 标题: Firewalld reload makes published container ports accessible from remote hosts · Advisory · moby/moby · GitHub -- 🔗来源链接

    标签: x_refsource_CONFIRM

    神龙速读
  • 标题: Merge pull request #50506 from robmry/backport-28.x/fix_firewalld_reload · moby/moby@bea959c · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2025-54388
四、漏洞 CVE-2025-54388 的评论

暂无评论


发表评论