Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Docker: `PUT /containers/{id}/archive` executes container binary on the host
Vulnerability Description
Moby is an open source container framework. In versions prior to 29.5.1 and in moby/moby v2 prior to v2.0.0-beta.14, when a compressed archive is uploaded to a container via `PUT /containers/{id}/archive` or piped through `docker cp -`, the daemon resolves decompression binaries (such as `xz` or `unpigz`) from the container's filesystem rather than the host's due to incorrect ordering of operations. A malicious container image containing a trojanized decompression binary can achieve arbitrary code execution with full daemon privileges, including host root UID and unrestricted capabilities, when a user uploads a compressed (xz or gzip) archive into that container. This issue is fixed in Docker Engine 29.5.1 and moby/moby v2.0.0-beta.14. Workarounds include only running containers from trusted images, using authorization plugins to restrict access to the `PUT /containers/{id}/archive` endpoint, and avoiding piping compressed archives into containers created from untrusted images
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Vulnerability Type
对搜索路径元素未加控制
Vulnerability Title
Moby 代码问题漏洞
Vulnerability Description
Moby是Moby开源的一个开源项目。旨在推动软件的容器化,并帮助生态系统使容器技术主流化。 Moby v2.0.0-beta.14之前版本存在代码问题漏洞,该漏洞源于解压操作顺序错误,导致守护进程从容器文件系统而非主机解析解压二进制文件,可能导致恶意容器镜像包含特洛伊木马化的解压二进制文件,当用户上传压缩归档文件到容器时,实现具有完整守护进程权限的任意代码执行。
CVSS Information
N/A
Vulnerability Type
N/A