Advisory

UBUNTU-CVE-2021-41091

Also known as: CVE-2021-41091

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Dates

Published
2021-10-04 21:15 UTC
Modified
2026-03-24 10:54 UTC

Affected packages and fixes

docker.io

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 20.10.7-0ubuntu5~18.04.2 (ecosystem)

Fixed versions

20.10.7-0ubuntu5~18.04.2

Fix

  • Fixed version 20.10.7-0ubuntu5~18.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 20.10.7-0ubuntu5~20.04.1 (ecosystem)

Fixed versions

20.10.7-0ubuntu5~20.04.1

Fix

  • Fixed version 20.10.7-0ubuntu5~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 20.10.7-0ubuntu5 (ecosystem)

Fixed versions

20.10.7-0ubuntu5

Fix

  • Fixed version 20.10.7-0ubuntu5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences