UBUNTU-CVE-2021-41091

Source
https://ubuntu.com/security/CVE-2021-41091
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41091.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-41091
Related
Published
2021-10-04T21:15:00Z
Modified
2024-11-20T12:27:24Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:22.04:LTS / docker.io

Package

Name
docker.io
Purl
pkg:deb/ubuntu/docker.io?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
20.10.7-0ubuntu5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "20.10.7-0ubuntu5",
            "binary_name": "docker-doc"
        },
        {
            "binary_version": "20.10.7-0ubuntu5",
            "binary_name": "docker.io"
        },
        {
            "binary_version": "20.10.7-0ubuntu5",
            "binary_name": "golang-docker-dev"
        },
        {
            "binary_version": "20.10.7-0ubuntu5",
            "binary_name": "golang-github-docker-docker-dev"
        },
        {
            "binary_version": "20.10.7-0ubuntu5",
            "binary_name": "vim-syntax-docker"
        }
    ]
}