Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-41091

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 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.

Notes

AuthorNote
sbeattie
looks to have possibly been introduced in
e908cc39018c015084ffbffbc5703ccba5c2fbb7 (v20.10.3)

Priority

Medium

Cvss 3 Severity Score

6.3

Score breakdown

Status

Package Release Status
docker.io
Launchpad, Ubuntu, Debian
bionic
Released (20.10.7-0ubuntu5)
focal
Released (20.10.7-0ubuntu5)
hirsute Ignored
(end of life)
impish
Released (20.10.7-0ubuntu5)
jammy
Released (20.10.7-0ubuntu5)
kinetic
Released (20.10.7-0ubuntu5)
trusty Does not exist

upstream
Released (v20.10.9)
xenial Not vulnerable
(code not present)
Patches:
upstream: https://github.com/moby/moby/commit/93ac040bf0c0b51d9a7fedaf994bf5bf1d68ee0e

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