Incorrect Permission Assignment for Critical Resource Affecting docker-python package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-DOCKERPYTHON-4984898
  • published27 Mar 2023
  • disclosed2 Feb 2021

Introduced: 2 Feb 2021

CVE-2021-21284  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 docker-python.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-python package and not the docker-python package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1