6.3
MEDIUM
CVE-2021-21334
Containerd CRI Environment Variable Information Exposure
Description

In containerd (an industry-standard container runtime) before versions 1.3.10 and 1.4.4, containers launched through containerd's CRI implementation (through Kubernetes, crictl, or any other pod/container client that uses the containerd CRI service) that share the same image may receive incorrect environment variables, including values that are defined for other containers. If the affected containers have different security contexts, this may allow sensitive information to be unintentionally shared. If you are not using containerd's CRI implementation (through one of the mechanisms described above), you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image which have different environment variables, you are not vulnerable to this issue. If you are not launching multiple containers or Kubernetes pods from the same image in rapid succession, you have reduced likelihood of being vulnerable to this issue This vulnerability has been fixed in containerd 1.3.10 and containerd 1.4.4. Users should update to these versions.

INFO

Published Date :

March 10, 2021, 10:15 p.m.

Last Modified :

Nov. 21, 2024, 5:48 a.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2021-21334 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-21334 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Linuxfoundation containerd
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-21334.

URL Resource
https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e Patch Third Party Advisory
https://github.com/containerd/containerd/releases/tag/v1.3.10 Release Notes Third Party Advisory
https://github.com/containerd/containerd/releases/tag/v1.4.4 Release Notes Third Party Advisory
https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/
https://security.gentoo.org/glsa/202105-33 Third Party Advisory
https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e Patch Third Party Advisory
https://github.com/containerd/containerd/releases/tag/v1.3.10 Release Notes Third Party Advisory
https://github.com/containerd/containerd/releases/tag/v1.4.4 Release Notes Third Party Advisory
https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4 Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/
https://security.gentoo.org/glsa/202105-33 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")

Dockerfile Shell Ruby Smarty Jinja HCL

Updated: 2 weeks, 4 days ago
16 stars 2 fork 2 watcher
Born at : July 1, 2022, 7:12 a.m. This repo has been linked 57 different CVEs too.

A python script to create daily reports from Threatstack

Python

Updated: 2 years, 7 months ago
1 stars 1 fork 1 watcher
Born at : June 24, 2021, 2:22 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21334 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21334 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e
    Added Reference https://github.com/containerd/containerd/releases/tag/v1.3.10
    Added Reference https://github.com/containerd/containerd/releases/tag/v1.4.4
    Added Reference https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/
    Added Reference https://security.gentoo.org/glsa/202105-33
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/ [No types assigned]
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/ [No types assigned]
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/ [No types assigned]
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/
  • Modified Analysis by [email protected]

    Jun. 03, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202105-33 No Types Assigned https://security.gentoo.org/glsa/202105-33 Third Party Advisory
  • CVE Modified by [email protected]

    May. 26, 2021

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202105-33 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 24, 2021

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
    Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/ Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 19, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/VTXHA5JOWQRCCUZH7ZQBEYN6KZKJEYSD/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 19, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
    Changed Reference Type https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e No Types Assigned https://github.com/containerd/containerd/commit/05f951a3781f4f2c1911b05e61c160e9c30eaa8e Patch, Third Party Advisory
    Changed Reference Type https://github.com/containerd/containerd/releases/tag/v1.3.10 No Types Assigned https://github.com/containerd/containerd/releases/tag/v1.3.10 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/containerd/containerd/releases/tag/v1.4.4 No Types Assigned https://github.com/containerd/containerd/releases/tag/v1.4.4 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4 No Types Assigned https://github.com/containerd/containerd/security/advisories/GHSA-6g2q-w5j3-fwh4 Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* versions up to (excluding) 1.3.10 *cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:* versions from (including) 1.4.0 up to (excluding) 1.4.4
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 15, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/KUE2Z2ZUWBHRU36ZGBD2YSJCYB6ELPXE/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/QIBPKSX5IOWPM3ZPFB3JVLXWDHSZTTWT/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21334 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-21334 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} -0.00%

score

0.46639

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability