CVE-2021-41091: Moby (Docker Engine) Insufficiently restricted permissions on data directory
(updated )
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.
References
- cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- github.com/advisories/GHSA-3fwx-pjgw-3558
- github.com/moby/moby
- github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64
- github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB
- nvd.nist.gov/vuln/detail/CVE-2021-41091
Detect and mitigate CVE-2021-41091 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →