Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. 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

Publication date 4 October 2021

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.3 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
docker.io 22.10 kinetic
Fixed 20.10.7-0ubuntu5
22.04 LTS jammy
Fixed 20.10.7-0ubuntu5
21.10 impish
Fixed 20.10.7-0ubuntu5
21.04 hirsute Ignored end of life
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)

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
docker.io

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