CVE-2021-41091Mobyproject Moby
Medium 6.3
Follow: this CVE · Mobyproject · Mobyproject Moby We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- Yes
- Published
- Oct 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Moby.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/docker/docker |
< 20.10.9 |
20.10.9 |
go get github.com/docker/docker@v20.10.9 |
| Go | github.com/docker/docker |
< 20.10.9+incompatible |
20.10.9+incompatible |
go get github.com/docker/docker@v20.10.9+incompatible |
| Go | github.com/moby/moby |
< 20.10.9 |
20.10.9 |
go get github.com/moby/moby@v20.10.9 |
| Go | github.com/moby/moby |
< 20.10.9+incompatible |
20.10.9+incompatible |
go get github.com/moby/moby@v20.10.9+incompatible |
Per OSV / GitHub Advisories (GHSA-3fwx-pjgw-3558, GO-2024-2500). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mobyproject | moby | < 20.10.9 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
Official sources
References
Links published by the sources. Open them with care.
- cert-portal.siemens.com
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org