Security mailing lists by PureSourceCode

CVE-2021-41091

MEDIUM 6.3CVSS 3.1

Moby (Docker Engine) Insufficiently restricted permissions on data directory

Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where the data directory (typically /var/lib/docker) contained subdirectories with insufficiently restricted permissions, allowing otherwise unprivileged Linux users to traverse directory contents and execute programs. When containers included executable programs with extended permission bits (such as setuid), unprivileged Linux users could discover and execute those programs. When the UID of an unprivileged Linux user on the host collided with the file owner or group inside a container, the unprivileged Linux user on the host could discover, read, and modify those files. This bug has been fixed in Moby (Docker Engine) 20.10.9. Users should update to this version as soon as possible. Running containers should be stopped and restarted for the permissions to be fixed. For users unable to upgrade limit access to the host to trusted users. Limit access to host volumes to trusted containers.

Published
4 Oct 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-281CWE-732
Also known as
GHSA-3fwx-pjgw-3558GO-2024-2500
Sources
NVDJSONOSV GHSA-3fwx-pjgw-3558JSONOSV GO-2024-2500JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mobyproject moby
cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*
< 20.10.9 20.10.9
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35
OSV Go github.com/moby/moby < 20.10.9 20.10.9
OSV Go github.com/docker/docker < 20.10.9 20.10.9
OSV Go github.com/docker/docker < 20.10.9+incompatible 20.10.9+incompatible
OSV Go github.com/moby/moby < 20.10.9+incompatible 20.10.9+incompatible

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Oct 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.