Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/kubernetes
  4. ›
  5. CVE-2021-25743

CVE-2021-25743: kubectl ANSI escape characters not filtered

January 8, 2022 (updated October 2, 2023)

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.

References

  • github.com/advisories/GHSA-f9jg-8p32-2f55
  • github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537
  • github.com/kubernetes/kubernetes/issues/101695
  • github.com/kubernetes/kubernetes/pull/112553
  • nvd.nist.gov/vuln/detail/CVE-2021-25743
  • security.netapp.com/advisory/ntap-20220217-0003/

Code Behaviors & Features

Detect and mitigate CVE-2021-25743 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.26.0-alpha.3

Fixed versions

  • 1.26.0-alpha.3

Solution

Upgrade to version 1.26.0-alpha.3 or above. *Note*: 1.26.0-alpha.3 may be an unstable version. Use caution.

Impact 3 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N

Learn more about CVSS

Source file

go/k8s.io/kubernetes/CVE-2021-25743.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.