Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-21284: Security patch for docker (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2021-21284: Security patch for docker (Multiple Advisories)

Severity
3
CVSS
(AV:A/AC:L/Au:S/C:N/I:P/A:N)
Published
02/02/2021
Created
07/16/2022
Added
07/04/2022
Modified
10/23/2023

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)

  • amazon-linux-ami-2-upgrade-docker
  • amazon-linux-ami-2-upgrade-docker-debuginfo

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

;