Improper Preservation of Permissions Affecting docker.io package, versions <20.10.5+dfsg1-1+deb11u1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-DOCKERIO-1727742
- published 5 Oct 2021
- disclosed 4 Oct 2021
Introduced: 4 Oct 2021
CVE-2021-41089 Open this link in a new tabHow to fix?
Upgrade Debian:11 docker.io to version 20.10.5+dfsg1-1+deb11u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream docker.io package and not the docker.io package as distributed by Debian.
See How to fix? for Debian:11 relevant fixed versions and status.
Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting to copy files using docker cp into a specially-crafted container can result in Unix file permission changes for existing files in the host’s filesystem, widening access to others. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers do not need to be restarted.
References
- https://security-tracker.debian.org/tracker/CVE-2021-41089
- https://github.com/moby/moby/security/advisories/GHSA-v994-f8vw-g7j4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/
- https://github.com/moby/moby/commit/bce32e5c93be4caf1a592582155b9cb837fc129a
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/
- https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/