Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41103

containerd is an open source container runtime with an emphasis on simplicity, robustness and portability. A bug was found in containerd where container root directories and some plugins had 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 vulnerability has been fixed in containerd 1.4.11 and containerd 1.5.7. Users should update to these version when they are released and may restart containers or update directory permissions to mitigate the vulnerability. Users unable to update should limit access to the host to trusted users. Update directory permission on container bundles directories.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41103
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:20 UTC · Revision 1

Source evidence

CVE-2021-41103

core-osv · Original source

Published 4 Oct 2021, 17:15 UTC

containerd is an open source container runtime with an emphasis on simplicity, robustness and portability. A bug was found in containerd where container root directories and some plugins had 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 vulnerability has been fixed in containerd 1.4.11 and containerd 1.5.7. Users should update to these version when they are released and may restart containers or update directory permissions to mitigate the vulnerability. Users unable to update should limit access to the host to trusted users. Update directory permission on container bundles directories.

osv:CVE-2021-41103
Complete source record
{
  "id": "bbf3e7980055837ef0d2076b32677e7c80e0be10bb474d76fc4b018694e6fed2",
  "url": "https://osv.dev/vulnerability/CVE-2021-41103",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41103",
    "summary": "containerd is an open source container runtime with an emphasis on simplicity, robustness and portability. A bug was found in containerd where container root directories and some plugins had 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 vulnerability has been fixed in containerd 1.4.11 and containerd 1.5.7. Users should update to these version when they are released and may restart containers or update directory permissions to mitigate the vulnerability. Users unable to update should limit access to the host to trusted users. Update directory permission on container bundles directories.",
    "evidence": "osv:CVE-2021-41103",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-41103",
      "aliases": [
        "CVE-2021-41103",
        "GHSA-c2h3-6mxw-7mvq",
        "GO-2022-0938"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/containerd/containerd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5b46e404f6b9f661a205e28d59c982d3634148f8"
                },
                {
                  "introduced": "8c906ff108ac28da23f69cc7b74f8e7a470d1df0"
                },
                {
                  "fixed": "8686ededfc90076914c5238eb96c883ea093a8ba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.5.0"
                      },
                      {
                        "fixed": "1.5.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5b46e404f6b9f661a205e28d59c982d3634148f8"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.5.6",
            "v1.4.10",
            "v1.4.9",
            "v1.5.5",
            "v1.5.4",
            "v1.4.8",
            "v1.5.3",
            "v1.4.7",
            "v1.4.6",
            "v1.5.2",
            "v1.4.5",
            "v1.5.1",
            "v1.5.0",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.4.0-rc.1",
            "v1.4.0-rc.0",
            "v1.4.0-beta.2",
            "v1.4.0-beta.1",
            "v1.4.0-beta.0",
            "v1.3.0",
            "v1.3.0-rc.3",
            "v1.3.0-rc.2",
            "v1.3.0-rc.1",
            "v1.3.0-rc.0",
            "v1.3.0-beta.2",
            "v1.3.0-beta.1",
            "v1.3.0-beta.0",
            "v1.2.0",
            "v1.2.0-rc.2",
            "v1.2.0-rc.1",
            "v1.2.0-rc.0",
            "v1.2.0-beta.2",
            "v1.2.0-beta.1",
            "v1.2.0-beta.0",
            "v1.1.0",
            "v1.1.0-rc.2",
            "v1.1.0-rc.1",
            "v1.1.0-rc.0",
            "v1.0.0",
            "v1.0.0-rc.0",
            "v1.0.0-beta.3",
            "v1.0.0-beta.2",
            "v1.0.0-beta.1",
            "v1.0.0-beta.0",
            "v1.0.0-alpha6",
            "v1.0.0-alpha5",
            "v1.0.0-alpha4",
            "v1.0.0-alpha3",
            "v1.0.0-alpha2",
            "v1.0.0-alpha1",
            "v1.0.0-alpha0",
            "v0.2.0",
            "0.0.5",
            "0.0.4",
            "0.0.3",
            "0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41103.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:56.087445818Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5Q6G6I4W5COQE25QMC7FJY3I3PAYFBB/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNFADTCHHYWVM6W4NJ6CB4FNFM2VMBIB/",
        "https://github.com/containerd/containerd/security/advisories/GHSA-c2h3-6mxw-7mvq",
        "https://security.gentoo.org/glsa/202401-31",
        "https://www.debian.org/security/2021/dsa-5002",
        "https://github.com/containerd/containerd/commit/5b46e404f6b9f661a205e28d59c982d3634148f8"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
              "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "34"
                  },
                  {
                    "last_affected": "34"
                  },
                  {
                    "introduced": "35"
                  },
                  {
                    "last_affected": "35"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-41103",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384773,
  "published_at": "2021-10-04T17:15:08.517+00:00"
}