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.
Published 2021-02-02 18:15:12
Updated 2022-04-29 19:22:02
Source GitHub, Inc.
View at NVD,   CVE.org
Vulnerability category: Directory traversalGain privilege

Threat overview for CVE-2021-21284

Top countries where our scanners detected CVE-2021-21284
Top open port discovered on systems with this issue 22
IPs affected by CVE-2021-21284 382
Threat actors abusing to this issue? Yes
Find out if you* are affected by CVE-2021-21284!
*Directly or indirectly through your vendors, service providers and 3rd parties. Powered by attack surface intelligence from SecurityScorecard.

Exploit prediction scoring system (EPSS) score for CVE-2021-21284

0.05%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 14 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2021-21284

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
2.7
LOW AV:A/AC:L/Au:S/C:N/I:P/A:N
5.1
2.9
NIST
6.8
MEDIUM CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
2.3
4.0
NIST
6.8
MEDIUM CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
2.3
4.0
GitHub, Inc.

CWE ids for CVE-2021-21284

  • The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
    Assigned by:
    • nvd@nist.gov (Primary)
    • security-advisories@github.com (Secondary)

References for CVE-2021-21284

Products affected by CVE-2021-21284

This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!