Rapid7 Vulnerability & Exploit Database

Docker CE: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CVE-2021-21284)

Back to Search

Docker CE: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CVE-2021-21284)

Severity
3
CVSS
(AV:A/AC:L/Au:S/C:N/I:P/A:N)
Published
02/02/2021
Created
02/18/2021
Added
02/17/2021
Modified
08/05/2021

Description

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.

Solution(s)

  • docker-ce-upgrade-19_03_15
  • docker-ce-upgrade-20_10_3

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;