CVE-2021-41091
Last modified
CVE-2021-41091 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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. EPSS estimates a 2.69% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mobyproject | Moby | < 20.10.9 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
References
- https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64Patch, Third Party Advisory
- https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558Third Party Advisory
- https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64Patch, Third Party Advisory
- https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41091?
How severe is CVE-2021-41091?
How do I fix CVE-2021-41091?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41084http4s is an open source scala interface for HTTP. In affect…4.7
- CVE-2021-41086jsuites is an open source collection of common required java…5.4
- CVE-2021-41087in-toto-golang is a go implementation of the in-toto framewo…6.5
- CVE-2021-41088Elvish is a programming language and interactive shell, comb…8.8
- CVE-2021-41089Moby is an open-source project created by Docker to enable s…6.3
- CVE-2021-41090Grafana Agent is a telemetry collector for sending metrics, …7.5
- CVE-2021-41092Docker CLI is the command line interface for the docker cont…7.5
- CVE-2021-41093Wire is an open source secure messenger. In affected version…9.8
- CVE-2021-41094Wire is an open source secure messenger. Users of Wire by Bu…4.6
- CVE-2021-41095Discourse is an open source discussion platform. There is a …6.1
- CVE-2021-41096Rucky is a USB HID Rubber Ducky Launch Pad for Android. Vers…7.5
- CVE-2021-41097aurelia-path is part of the Aurelia platform and contains ut…7.5
Are you affected by CVE-2021-41091?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
