Directory Traversal Affecting docker.io package, versions <20.10.3+dfsg1-1
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-1069848
- published 3 Feb 2021
- disclosed 2 Feb 2021
Introduced: 2 Feb 2021
CVE-2021-21284 Open this link in a new tabHow to fix?
Upgrade Debian:11 docker.io to version 20.10.3+dfsg1-1 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.
In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using "--userns-remap", if the root user in the remapped namespace has access to the host filesystem they can modify files under "/var/lib/docker/<remapping>" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user.
References
- https://security-tracker.debian.org/tracker/CVE-2021-21284
- https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc
- https://security.netapp.com/advisory/ntap-20210226-0005/
- https://www.debian.org/security/2021/dsa-4865
- https://docs.docker.com/engine/release-notes/#20103
- https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
- https://github.com/moby/moby/releases/tag/v19.03.15
- https://github.com/moby/moby/releases/tag/v20.10.3
- https://security.gentoo.org/glsa/202107-23