发布日期: 2025-09-04
版本号: v5.6.1

Podman本次更新主要包含安全修复、错误修正及依赖库升级。针对CVE-2025-9566漏洞,修复了podman play kube处理Kubernetes YAML时可能通过符号链接覆盖主机文件的风险。修复了使用journald事件驱动时网络事件显示异常、Windows平台下--security-opt seccomp=unconfined选项失效、容器名称超过64字符且配置container_name_as_hostname时启动失败,以及与runc 1.3.0以上版本OCI运行时不兼容的问题。其他变更包括调整systemd-tmpfiles脚本以确保/tmp目录下临时文件被正确清理,并将Buildah、containers/storage和containers/common库分别更新至v1.41.4、v1.59.1和v0.64.2版本。

更新内容 (中文)

安全

  • 本次发布修复了CVE-2025-9566漏洞,该漏洞涉及通过podman play kube运行的包含ConfigMapSecret卷的Kubernetes YAML文件可能利用特制的符号链接覆盖宿主机上的内容。

错误修复

  • 修复了使用journald事件驱动时,网络创建和删除事件显示不正确的错误。
  • 修复了Windows平台上--security-opt seccomp=unconfined选项失效的问题(#26855)。
  • 修复了容器名称超过64个字符、未明确指定主机名且containers.confcontainer_name_as_hostname选项设置为true时,容器无法启动的错误。
  • 修复了使用runc 1.3.0或更高版本作为OCI运行时时,Podman无法启动容器的错误(#26938)。

杂项

  • 调整了systemd-tmpfiles脚本,以递归方式删除放置在/tmp中的临时文件目录,确保在/tmp非tmpfs的情况下重启后Podman能正常运行。
  • 将Buildah更新至v1.41.4
  • 将containers/storage更新至v1.59.1
  • 将containers/common库更新至v0.64.2

更新内容 (原始)

Security

  • This release addresses CVE-2025-9566, where Kubernetes YAML run by podman play kube containing ConfigMap and Secret volumes can use crafted symlinks to overwrite content on the host.

Bugfixes

  • Fixed a bug where network creation and removal events were displayed incorrectly when the journald events driver was in use.
  • Fixed a bug where the --security-opt seccomp=unconfined option was broken on Windows (#26855).
  • Fixed a bug where containers created with a name longer than 64 characters, no explicit hostname, the the container_name_as_hostname option in containers.conf set to true would fail to start.
  • Fixed a bug where Podman would fail to start containers when runc 1.3.0 or later was used as the OCI runtime (#26938).

Misc

  • Adjusted the systemd-tmpfiles script to recursively remove temporary files directories placed in /tmp, ensuring proper operation of Podman after a reboot if /tmp is not a tmpfs.
  • Updated Buildah to v1.41.4
  • Updated the containers/storage to v1.59.1
  • Updated the containers/common library to v0.64.2

下载链接