Advisory

UBUNTU-CVE-2021-21284

Also known as: CVE-2021-21284

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Dates

Published
2021-02-02 18:15 UTC
Modified
2026-02-04 03:28 UTC

Affected packages and fixes

docker.io

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 20.10.7-0ubuntu1~18.04.1 (ecosystem)

Fixed versions

20.10.7-0ubuntu1~18.04.1

Fix

  • Fixed version 20.10.7-0ubuntu1~18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

docker.io

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 20.10.7-0ubuntu1~20.04.1 (ecosystem)

Fixed versions

20.10.7-0ubuntu1~20.04.1

Fix

  • Fixed version 20.10.7-0ubuntu1~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences