CVE-2021-41089
Published: 4 October 2021
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.
From the Ubuntu Security Team
Lei Wang and Ruizhi Xiao discovered that the Moby Docker engine subsystem in Docker incorrectly allowed the docker cp command to make permissions changes in the host filesystem in some situations. A local attacker could possibly use to this to expose sensitive information or gain administrative privileges.
Priority
Status
Package | Release | Status |
---|---|---|
docker.io Launchpad, Ubuntu, Debian |
impish |
Released
(20.10.7-0ubuntu5)
|
trusty |
Does not exist
|
|
upstream |
Released
(20.10.9)
|
|
bionic |
Released
(20.10.7-0ubuntu1~18.04.2)
|
|
focal |
Released
(20.10.7-0ubuntu1~20.04.2)
|
|
hirsute |
Released
(20.10.7-0ubuntu1~21.04.2)
|
|
xenial |
Released
(18.09.7-0ubuntu1~16.04.9+esm1)
Available with Ubuntu Pro |
|
jammy |
Released
(20.10.7-0ubuntu7)
|
|
Patches: upstream: https://github.com/moby/moby/commit/80f1169eca587305759829e626cebd2a434664f6 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.3 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Changed |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | Low |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L |