CVE-2021-41091

medium
Published 2024-01-31 ยท Modified 2026-02-04
CVSS v3
โ€”
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 1:20.10.9-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 20.10.10+dfsg1-1
sid Fixed 20.10.10+dfsg1-1
forky Fixed 20.10.10+dfsg1-1
bullseye Fixed 20.10.5+dfsg1-1+deb11u1
bookworm Fixed 20.10.10+dfsg1-1

Package impact

EcosystemPackageVulnerableFixed
golang Gogithub.com/docker/docker<20.10.920.10.9
golang Gogithub.com/moby/moby<20.10.920.10.9
golang Gogithub.com/docker/docker<20.10.9+incompatible20.10.9+incompatible
golang Gogithub.com/moby/moby<20.10.9+incompatible20.10.9+incompatible

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.