CVE-2021-41091
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.
How to fix
- mobyproject moby20.10.9 or later
- github.com/moby/moby20.10.9, 20.10.9+incompatible or later
- github.com/docker/docker20.10.9, 20.10.9+incompatible or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mobyproject moby | v < 20.10.9 | 20.10.9 |
| fedoraproject fedora | 34, 35 | — |
| github.com/moby/mobyGo | v < 20.10.9, v < 20.10.9+incompatible | 20.10.9, 20.10.9+incompatible |
| github.com/docker/dockerGo | v < 20.10.9, v < 20.10.9+incompatible | 20.10.9, 20.10.9+incompatible |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.