CVE-2021-41091
Publication date 4 October 2021
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where the data directory (typically `/var/lib/docker`) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as `setuid`), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.
Status
Package | Ubuntu Release | Status |
---|---|---|
docker.io | ||
22.04 LTS jammy |
Fixed 20.10.7-0ubuntu5
|
|
20.04 LTS focal |
Fixed 20.10.7-0ubuntu5
|
|
18.04 LTS bionic |
Fixed 20.10.7-0ubuntu5
|
|
16.04 LTS xenial |
Not affected
|
|
14.04 LTS trusty | Not in release |
Notes
sbeattie
looks to have possibly been introduced in e908cc39018c015084ffbffbc5703ccba5c2fbb7 (v20.10.3)
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.3 · Medium |
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 |