CVE-2021-41089
LOW2.8EPSS 0.03%Unexpected chmod of host files via 'docker cp' in Moby Docker Engine in github.com/docker/docker
發布日:2024/6/10修改日:2026/4/28
描述
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using `docker cp` into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
受影響套件(4)
- Debian/docker.iofrom 0, < 20.10.5+dfsg1-1+deb11u1
- Go/github.com/docker/dockerfrom 0, < 20.10.9
- Go/github.com/docker/dockerfrom 0, < 20.10.9+incompatible
- Go/github.com/moby/mobyfrom 0, < 20.10.9+incompatible
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW2.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:N/A:N |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-41089
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-41089
- PATCHhttps://github.com/moby/moby
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- WEBhttps://github.com/moby/moby/commit/bce32e5c93be4caf1a592582155b9cb837fc129a
- WEBhttps://github.com/moby/moby/security/advisories/GHSA-v994-f8vw-g7j4
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB
- WEBhttps://pkg.go.dev/vuln/GO-2024-2913