CVE Database›Document archive›CVE-2021-41091

CVE-2021-41091

moby: data directory contains subdirectories with insufficiently restricted permissions, which could lead to directory traversal

Loading…

Severity

Low

Red Hat Product Security

6.3

CVSS 3.1

Review impact separately from score.

Published · October 4, 2021

Updated · August 7, 2026

Description

A file permissions vulnerability was found in the Moby (Docker Engine). The Moby data directory (usually /var/lib/docker) contains subdirectories with insufficiently restricted permissions, allowing unprivileged Linux users to traverse directory contents and execute programs. When the running container contains executable programs with the extended permission bits (like setuid), unprivileged Linux users can discover and execute those programs. Additionally, when the UID of an unprivileged Linux user on the host collides with the file owner or group inside a container, the unprivileged Linux user on the host can discover, read, and modify those files. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Statement

In the OpenShift Container Platform (OCP), the Migration Toolkit for Virtualization (MTV) and the Red Hat Advanced Cluster Management for Kubernetes (RHACM) some components bundle github.com/moby/moby. However, successful exploitation requires direct access to the cluster hosts, which is not allowed by default and is available only to the cluster administrators, so the impact of this vulnerability to these components is Low.

Starting in OCP 4.7 the github.com/moby/moby is not shipped anymore in the openshift4-wincw/windows-machine-config-rhel8-operator component (Red Hat OpenShift Container Platform for Windows Containers version 2) , hence this component is marked as Will not fix.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-281 · Improper Preservation of Permissions