CVE-2021-21284

Published Feb 2, 2021

Last updated 3 years ago

Overview

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.
Source
security-advisories@github.com
NVD status
Analyzed

Social media

Hype score
Not currently trending

Risk scores

CVSS 3.1

Type
Primary
Base score
6.8
Impact score
4
Exploitability score
2.3
Vector string
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Severity
MEDIUM

CVSS 2.0

Type
Primary
Base score
2.7
Impact score
2.9
Exploitability score
5.1
Vector string
AV:A/AC:L/Au:S/C:N/I:P/A:N

Weaknesses

nvd@nist.gov
CWE-22
security-advisories@github.com
CWE-22

Configurations