Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25743

kubectl does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-25743
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:25 UTC · Revision 1

Source evidence

CVE-2021-25743

core-osv · Original source

Published 7 Jan 2022, 00:15 UTC

kubectl does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.

osv:CVE-2021-25743
Complete source record
{
  "id": "85d3f0b1755608c41eff532ce4e1c35224073885073e2c1f2b4ef1db07b50704",
  "url": "https://osv.dev/vulnerability/CVE-2021-25743",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25743",
    "summary": "kubectl does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.",
    "evidence": "osv:CVE-2021-25743",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-25743",
      "aliases": [
        "CVE-2021-25743",
        "GHSA-f9jg-8p32-2f55",
        "GO-2022-0983"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kubernetes/kubelet",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "d37f045d808033445aaa284ad80454c948b37958"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.25.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.25.0",
            "kubernetes-1.25.0",
            "kubernetes-1.9.0-alpha.3",
            "kubernetes-1.9.0-alpha.2",
            "kubernetes-1.9.0-alpha.1",
            "kubernetes-1.9.0-alpha.0",
            "kubernetes-1.13.0-alpha.0",
            "kubernetes-1.12.0-beta.0",
            "kubernetes-1.12.0-alpha.1",
            "kubernetes-1.12.0-alpha.0",
            "kubernetes-1.11.0-alpha.2",
            "kubernetes-1.11.0-alpha.1",
            "kubernetes-1.11.0-alpha.0",
            "kubernetes-1.10.0-alpha.3",
            "kubernetes-1.10.0-alpha.2",
            "kubernetes-1.10.0-alpha.1",
            "kubernetes-1.10.0-alpha.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25743.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/kubernetes/kubernetes",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.25.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.25.0",
            "v1.25.0-rc.1",
            "v1.26.0-alpha.0",
            "v1.25.0-rc.0",
            "v1.25.0-beta.0",
            "v1.25.0-alpha.3",
            "v1.25.0-alpha.2",
            "v1.25.0-alpha.0",
            "v1.25.0-alpha.1",
            "v1.24.0-beta.0",
            "v1.24.0-alpha.4",
            "v1.24.0-alpha.3",
            "v1.24.0-alpha.2",
            "v1.24.0-alpha.1",
            "v1.24.0-alpha.0",
            "v1.23.0-alpha.4",
            "v1.23.0-alpha.3",
            "v1.23.0-alpha.2",
            "v1.23.0-alpha.1",
            "v1.23.0-alpha.0",
            "v1.22.0-beta.2",
            "v1.22.0-beta.1",
            "v1.22.0-beta.0",
            "v1.22.0-alpha.3",
            "v1.22.0-alpha.2",
            "v1.22.0-alpha.1",
            "v1.22.0-alpha.0",
            "v1.21.0-beta.1",
            "v1.21.0-beta.0",
            "v1.21.0-alpha.3",
            "v1.21.0-alpha.2",
            "v1.21.0-alpha.1",
            "v1.21.0-alpha.0",
            "v1.20.0-beta.2",
            "v1.20.0-beta.1",
            "v1.20.0-beta.0",
            "v1.20.0-alpha.3",
            "v1.20.0-alpha.2",
            "v1.20.0-alpha.1",
            "v1.20.0-alpha.0",
            "v1.19.0-beta.2",
            "v1.19.0-beta.1",
            "v1.19.0-beta.0",
            "v1.19.0-alpha.3",
            "v1.19.0-alpha.2",
            "v1.19.0-alpha.1",
            "v1.19.0-alpha.0",
            "v1.18.0-alpha.5",
            "v1.18.0-alpha.4",
            "v1.18.0-alpha.2",
            "v1.18.0-alpha.1",
            "v1.18.0-alpha.0",
            "v1.17.0-alpha.3",
            "v1.17.0-alpha.1",
            "v1.17.0-alpha.2",
            "v1.17.0-alpha.0",
            "v1.16.0-alpha.3",
            "v1.16.0-alpha.2",
            "v1.16.0-alpha.1",
            "v1.16.0-alpha.0",
            "v1.15.0-alpha.3",
            "v1.15.0-alpha.2",
            "v1.15.0-alpha.1",
            "v1.14.0-alpha.3",
            "v1.15.0-alpha.0",
            "v1.14.0-alpha.2",
            "v1.14.0-alpha.1",
            "v1.14.0-alpha.0",
            "v1.13.0-alpha.3",
            "v1.13.0-alpha.2",
            "v1.13.0-alpha.1",
            "v1.13.0-alpha.0",
            "v1.12.0-alpha.1",
            "v1.12.0-alpha.0",
            "v1.11.0-alpha.2",
            "v1.11.0-alpha.1",
            "v1.11.0-alpha.0",
            "v1.10.0-alpha.3",
            "v1.10.0-alpha.2",
            "v1.10.0-alpha.1",
            "v1.9.0-alpha.3",
            "v1.10.0-alpha.0",
            "v1.9.0-alpha.2",
            "v1.9.0-alpha.1",
            "v1.9.0-alpha.0",
            "v1.8.0-alpha.3",
            "v1.8.0-alpha.2",
            "v1.8.0-alpha.0",
            "v1.8.0-alpha.1",
            "v1.7.0-alpha.4",
            "v1.7.0-alpha.3",
            "v1.7.0-alpha.2",
            "v1.7.0-alpha.1",
            "v1.7.0-alpha.0",
            "v1.6.0-alpha.3",
            "v1.6.0-alpha.2",
            "v1.6.0-alpha.1",
            "v1.6.0-alpha.0",
            "v1.5.0-alpha.2",
            "v1.5.0-alpha.1",
            "v1.5.0-alpha.0",
            "v1.4.0-alpha.3",
            "v1.4.0-alpha.1",
            "v1.4.0-alpha.2",
            "v1.3.0-alpha.5",
            "v1.3.0-alpha.4",
            "v1.3.0-alpha.3",
            "v1.3.0-alpha.1",
            "v1.3.0-alpha.2",
            "v1.3.0-alpha.0",
            "v1.2.0-alpha.8",
            "v1.2.0-alpha.7",
            "v1.2.0-alpha.6",
            "v1.2.0-alpha.5",
            "v1.2.0-alpha.4",
            "v1.2.0-alpha.3",
            "v1.2.0-alpha.2",
            "v1.2.0-alpha.1",
            "v1.1.0-alpha.1",
            "v1.1.0-alpha.0",
            "v0.17.0",
            "v0.13.1-dev"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25743.json"
          }
        }
      ],
      "modified": "2026-10-24T10:47:17.492123298Z",
      "provider": "osv",
      "references": [
        "https://github.com/kubernetes/kubernetes/issues/101695",
        "https://security.netapp.com/advisory/ntap-20220217-0003/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha0:*:*:*:*:*:*",
              "cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha1:*:*:*:*:*:*",
              "cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha2:*:*:*:*:*:*"
            ],
            "vendor_product": "kubernetes:kubernetes",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.26.0-alpha0"
                  },
                  {
                    "last_affected": "1.26.0-alpha0"
                  },
                  {
                    "introduced": "1.26.0-alpha0"
                  },
                  {
                    "last_affected": "1.26.0-alpha0"
                  },
                  {
                    "introduced": "1.26.0-alpha1"
                  },
                  {
                    "last_affected": "1.26.0-alpha1"
                  },
                  {
                    "introduced": "1.26.0-alpha1"
                  },
                  {
                    "last_affected": "1.26.0-alpha1"
                  },
                  {
                    "introduced": "1.26.0-alpha2"
                  },
                  {
                    "last_affected": "1.26.0-alpha2"
                  },
                  {
                    "introduced": "1.26.0-alpha2"
                  },
                  {
                    "last_affected": "1.26.0-alpha2"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-25743",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441166,
  "published_at": "2022-01-07T00:15:07.817+00:00"
}