CVE-2021-21284

MEDIUMCVSS 6.8/10EPSS 1.06%

Last modified

CVE-2021-21284 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 1.06% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.8/10

CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

EPSS Probability
1.06%

60.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DockerDocker< 19.03.15
DockerDocker>= 20.0.0, < 20.10.3
DebianDebian Linux10.0
NetappE-Series Santricity Os Controller>= 11.0.0, <= 11.60.3

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-21284?
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.
How severe is CVE-2021-21284?
CVE-2021-21284 has a CVSS score of 6.8/10 (MEDIUM severity). The EPSS model estimates a 1.06% probability of exploitation in the next 30 days.
How do I fix CVE-2021-21284?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-21284?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST