Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-41091

published medium CVSS 3.1 · 6.3

Insufficiently restricted permissions on data directory in Docker Engine

Published
04 Oct 2021, 20:20:09 UTC
Updated
04 Aug 2024, 02:59:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
moby — moby< 20.10.9 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2DOCKER-2022-017 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2ECS-2023-028 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2NITRO-ENCLAVES-2022-017 Fixed Not stated Amazon Linux assessment
Alpine Linux edge docker Fixed 20.10.9-r0 Package fix record
SUSE / openSUSE SLE-12 containerdppc64le Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
Alpine Linux v3.14 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.15 docker Fixed 20.10.9-r0 Package fix record
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.16 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.17 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.18 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.19 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.20 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.21 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.22 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.23 docker Fixed 20.10.9-r0 Package fix record
Alpine Linux v3.24 docker Fixed 20.10.9-r0 Package fix record
SUSE / openSUSE SLE-12 containerdppc64le Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 containerds390x Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 containerds390x Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 containerdx86_64 Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 containerdx86_64 Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 dockerppc64le Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 dockerppc64le Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 dockers390x Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 dockers390x Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 dockerx86_64 Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12 dockerx86_64 Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 runcppc64le Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 runcs390x Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12 runcx86_64 Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 containerdppc64le Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 containerdppc64le Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 containerds390x Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 containerds390x Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 containerdx86_64 Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 containerdx86_64 Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 dockerppc64le Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 dockerppc64le Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 dockers390x Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 dockers390x Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 dockerx86_64 Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP3 dockerx86_64 Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 runcppc64le Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 runcs390x Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP3 runcx86_64 Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 containerdppc64le Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 containerdppc64le Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 containerds390x Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 containerds390x Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 containerdx86_64 Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 containerdx86_64 Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 dockerppc64le Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 dockerppc64le Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 dockers390x Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 dockers390x Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 dockerx86_64 Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP4 dockerx86_64 Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 runcppc64le Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 runcs390x Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP4 runcx86_64 Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 containerdppc64le Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 containerdppc64le Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 containerds390x Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 containerds390x Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 containerdx86_64 Advisory build 1.4.11-16.45.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 containerdx86_64 Advisory build 1.4.12-16.49.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 dockerppc64le Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 dockerppc64le Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 dockers390x Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 dockers390x Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 dockerx86_64 Advisory build 20.10.12_ce-98.75.1 SUSE-SU-2022:0213-1
SUSE / openSUSE SLE-12-SP5 dockerx86_64 Advisory build 20.10.9_ce-98.72.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 docker-stableaarch64 Advisory build 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SUSE / openSUSE SLE-12-SP5 docker-stableppc64le Advisory build 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SUSE / openSUSE SLE-12-SP5 docker-stables390x Advisory build 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SUSE / openSUSE SLE-12-SP5 docker-stablex86_64 Advisory build 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SUSE / openSUSE SLE-12-SP5 docker-stable-bash-completionnoarch Advisory build 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SUSE / openSUSE SLE-12-SP5 runcppc64le Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 runcs390x Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-12-SP5 runcx86_64 Advisory build 1.0.2-16.14.1 SUSE-SU-2021:3336-1
SUSE / openSUSE SLE-15 containerdppc64le Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 containerds390x Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 containerdx86_64 Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 dockerppc64le Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 dockers390x Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 dockerx86_64 Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 docker-bash-completionnoarch Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 runcaarch64 Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 runcppc64le Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 runcs390x Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15 runcx86_64 Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 containerdaarch64 Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 containerdppc64le Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 containerds390x Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 containerdx86_64 Advisory build 1.4.11-56.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 dockeraarch64 Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 dockerppc64le Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 dockers390x Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 dockerx86_64 Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 docker-bash-completionnoarch Advisory build 20.10.9_ce-156.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 runcaarch64 Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 runcppc64le Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1
SUSE / openSUSE SLE-15-SP1 runcs390x Advisory build 1.0.2-23.1 SUSE-SU-2021:3506-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

40

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.3 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
moby moby < 20.10.9 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-281 CWE-281: Improper Preservation of Permissions (GitHub_M · cna)

References

5

Provider assertions

2

GitHub_M · cna

Insufficiently restricted permissions on data directory in Docker Engine

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d4e5fd813f04aa7dbba697ff439ccc38a5f17e82d6528b0477c54fab759cd634
Ingested
23 Sep 2026, 07:56:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected