CVE catalog

CVE-2021-41091

docker.io: CVE-2021-41091

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
2.85% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandocker.iosid28.5.2+dfsg4-5fixed
Debiandocker.ioforky28.5.2+dfsg4-5fixed
Debiandocker.iotrixie26.1.5+dfsg1-9+deb13u1fixed
Debiandocker.iotrixie-security26.1.5+dfsg1-9+deb13u1fixed
Debiandocker.iobookworm20.10.24+dfsg1-1+deb12u1fixed
Ubuntudocker.io18.041.13.1-0ubuntu6vulnerable
Ubuntudocker.io18.0417.03.2-0ubuntu1vulnerable
Ubuntudocker.io18.0417.03.2-0ubuntu3vulnerable
Ubuntudocker.io18.0417.03.2-0ubuntu5vulnerable
Ubuntudocker.io18.0417.12.1-0ubuntu1vulnerable
Ubuntudocker.io18.0418.06.1-0ubuntu1~18.04.1vulnerable
Ubuntudocker.io18.0418.06.1-0ubuntu1.2~18.04.1vulnerable
Ubuntudocker.io18.0418.09.2-0ubuntu1~18.04.1vulnerable
Ubuntudocker.io18.0418.09.5-0ubuntu1~18.04.2vulnerable
Ubuntudocker.io18.0418.09.7-0ubuntu1~18.04.1vulnerable
Ubuntudocker.io18.0418.09.7-0ubuntu1~18.04.3vulnerable
Ubuntudocker.io18.0418.09.7-0ubuntu1~18.04.4vulnerable
Ubuntudocker.io18.0419.03.6-0ubuntu1~18.04.1vulnerable
Ubuntudocker.io18.0419.03.6-0ubuntu1~18.04.2vulnerable
Ubuntudocker.io18.0419.03.6-0ubuntu1~18.04.3vulnerable
Ubuntudocker.io18.0420.10.2-0ubuntu1~18.04.2vulnerable
Ubuntudocker.io18.0420.10.2-0ubuntu1~18.04.3vulnerable
Ubuntudocker.io18.0420.10.7-0ubuntu1~18.04.1vulnerable
Ubuntudocker.io18.0420.10.7-0ubuntu1~18.04.2vulnerable
Ubuntudocker.io18.0420.10.7-0ubuntu5~18.04.2fixed
Ubuntudocker.io20.0419.03.2-0ubuntu1vulnerable
Ubuntudocker.io20.0419.03.6-0ubuntu1vulnerable
Ubuntudocker.io20.0419.03.8-0ubuntu1vulnerable
Ubuntudocker.io20.0419.03.8-0ubuntu1.20.04vulnerable
Ubuntudocker.io20.0419.03.8-0ubuntu1.20.04.1vulnerable
Ubuntudocker.io20.0419.03.8-0ubuntu1.20.04.2vulnerable
Ubuntudocker.io20.0420.10.2-0ubuntu1~20.04.2vulnerable
Ubuntudocker.io20.0420.10.2-0ubuntu1~20.04.3vulnerable
Ubuntudocker.io20.0420.10.7-0ubuntu1~20.04.1vulnerable
Ubuntudocker.io20.0420.10.7-0ubuntu1~20.04.2vulnerable
Ubuntudocker.io20.0420.10.7-0ubuntu5~20.04.1fixed
Ubuntudocker.io22.0420.10.7-0ubuntu5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandocker.iosourcesid20.10.10+dfsg1-1not yet assignedNot reportedNot reported
Debiandocker.iosourceforky20.10.10+dfsg1-1not yet assignedNot reportedNot reported
Debiandocker.iosourcetrixie20.10.10+dfsg1-1not yet assignedNot reportedNot reported
Debiandocker.iosourcebookworm20.10.10+dfsg1-1not yet assignedNot reportedNot reported
Ubuntudocker.iodeb18.0420.10.7-0ubuntu5~18.04.2Not reportedUBUNTU-CVE-2021-41091Not reported
Ubuntudocker.iodeb20.0420.10.7-0ubuntu5~20.04.1Not reportedUBUNTU-CVE-2021-41091Not reported
Ubuntudocker.iodeb22.0420.10.7-0ubuntu5Not reportedUBUNTU-CVE-2021-41091Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [docker-doc]Unknown

    Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

  • [docker.io]Unknown

    Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1+b6 · amd64 · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1+b6 · arm64 · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

  • Source package: [docker.io]

    Details (2)
    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

    • 20.10.24+dfsg1-1+deb12u1 · all · bookworm

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · bookworm; dsa · docker.io · debian · 12

[Debian 13 (Trixie)]

  • [docker-cli]Unknown

    Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9+b13 · amd64 · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+b13 · arm64 · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

  • [docker-doc]Unknown

    Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9 · all · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9 · all · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

  • [docker.io]Unknown
    Details (4)
    • 26.1.5+dfsg1-9+b13 · amd64 · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+b13 · arm64 · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

  • Source package: [docker.io]

    Details (4)
    • 26.1.5+dfsg1-9 · all · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9 · all · trixie

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

    • 26.1.5+dfsg1-9+deb13u1 · all · trixie-security

      Fixed · Fixed: 20.10.10+dfsg1-1

      dsa · docker.io · debian · 13

Observed:

References