{"api_version":"1","generated_at":"2026-04-23T03:26:35+00:00","cve":"CVE-2021-41091","urls":{"html":"https://cve.report/CVE-2021-41091","api":"https://cve.report/api/cve/CVE-2021-41091.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41091","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41091"},"summary":{"title":"CVE-2021-41091","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-10-04 21:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-281"],"metrics":[],"references":[{"url":"https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64","name":"https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64","refsource":"MISC","tags":[],"title":"Merge pull request #2 from moby/20.10-GHSA-3fwx-pjgw-3558_0701-perms · moby/moby@f0ab919 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558","name":"https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558","refsource":"CONFIRM","tags":[],"title":"Insufficiently restricted permissions on data directory · Advisory · moby/moby · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/","name":"FEDORA-2021-df975338d4","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: moby-engine-20.10.9-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/","name":"FEDORA-2021-df975338d4","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: moby-engine-20.10.9-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","name":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","refsource":"CONFIRM","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/","name":"FEDORA-2021-b5a9a481a2","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: moby-engine-20.10.9-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/","name":"FEDORA-2021-b5a9a481a2","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: moby-engine-20.10.9-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41091","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41091","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41091","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41091","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41091","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mobyproject","cpe5":"moby","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41091","qid":"179504","title":"Debian Security Update for docker.io (CVE-2021-41091)"},{"cve":"CVE-2021-41091","qid":"281996","title":"Fedora Security Update for containerd (FEDORA-2021-df975338d4)"},{"cve":"CVE-2021-41091","qid":"352849","title":"Amazon Linux Security Advisory for docker: ALAS-2021-1537"},{"cve":"CVE-2021-41091","qid":"353186","title":"Amazon Linux Security Advisory for docker : ALAS2NITRO-ENCLAVES-2022-017"},{"cve":"CVE-2021-41091","qid":"353191","title":"Amazon Linux Security Advisory for docker : ALAS2DOCKER-2022-017"},{"cve":"CVE-2021-41091","qid":"356876","title":"Amazon Linux Security Advisory for docker : ALAS2ECS-2023-028"},{"cve":"CVE-2021-41091","qid":"501837","title":"Alpine Linux Security Update for docker"},{"cve":"CVE-2021-41091","qid":"504679","title":"Alpine Linux Security Update for docker"},{"cve":"CVE-2021-41091","qid":"590976","title":"Siemens SCALANCE LPE9403 Third-Party Multiple Vulnerabilities (ICSA-22-167-09) (SSA-222547)"},{"cve":"CVE-2021-41091","qid":"6140147","title":"AWS Bottlerocket Security Update for docker-engine (GHSA-qw38-5p6x-cgx3)"},{"cve":"CVE-2021-41091","qid":"672019","title":"EulerOS Security Update for docker-engine (EulerOS-SA-2022-2253)"},{"cve":"CVE-2021-41091","qid":"672023","title":"EulerOS Security Update for docker (EulerOS-SA-2022-2265)"},{"cve":"CVE-2021-41091","qid":"672049","title":"EulerOS Security Update for docker-engine (EulerOS-SA-2022-2240)"},{"cve":"CVE-2021-41091","qid":"672074","title":"EulerOS Security Update for docker-engine (EulerOS-SA-2022-2218)"},{"cve":"CVE-2021-41091","qid":"672110","title":"EulerOS Security Update for docker-engine (EulerOS-SA-2022-2311)"},{"cve":"CVE-2021-41091","qid":"751272","title":"SUSE Enterprise Linux Security Update for containerd, docker, runc (SUSE-SU-2021:3506-1)"},{"cve":"CVE-2021-41091","qid":"751273","title":"OpenSUSE Security Update for containerd, docker, runc (openSUSE-SU-2021:3506-1)"},{"cve":"CVE-2021-41091","qid":"751303","title":"OpenSUSE Security Update for containerd, docker, runc (openSUSE-SU-2021:1404-1)"},{"cve":"CVE-2021-41091","qid":"751692","title":"OpenSUSE Security Update for containerd, docker (openSUSE-SU-2022:0334-1)"},{"cve":"CVE-2021-41091","qid":"753284","title":"SUSE Enterprise Linux Security Update for containerd, docker (SUSE-SU-2022:0334-1)"},{"cve":"CVE-2021-41091","qid":"997032","title":"GO (Go) Security Update for github.com/moby/moby (GHSA-3fwx-pjgw-3558)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41091","STATE":"PUBLIC","TITLE":"Insufficiently restricted permissions on data directory in Docker Engine"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"moby","version":{"version_data":[{"version_value":"< 20.10.9"}]}}]},"vendor_name":"moby"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-281: Improper Preservation of Permissions"}]}]},"references":{"reference_data":[{"name":"https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558","refsource":"CONFIRM","url":"https://github.com/moby/moby/security/advisories/GHSA-3fwx-pjgw-3558"},{"name":"https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64","refsource":"MISC","url":"https://github.com/moby/moby/commit/f0ab919f518c47240ea0e72d0999576bb8008e64"},{"refsource":"FEDORA","name":"FEDORA-2021-df975338d4","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/"},{"refsource":"FEDORA","name":"FEDORA-2021-b5a9a481a2","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/"},{"refsource":"CONFIRM","name":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf"}]},"source":{"advisory":"GHSA-3fwx-pjgw-3558","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-10-04 21:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-281"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2,"impactScore":3.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.6},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*","versionEndExcluding":"20.10.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41091","Ordinal":"216929","Title":"CVE-2021-41091","CVE":"CVE-2021-41091","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41091","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"41091","Ordinal":"2","NoteData":"2021-10-04","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"41091","Ordinal":"3","NoteData":"2021-10-29","Type":"Other","Title":"Modified"}]}}}