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

CVE-2021-25743: ANSI escape characters not filtered

January 8, 2022 (updated September 8, 2022)

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/issues/101695
  • 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.18.0

Fixed versions

  • 1.18.0

Solution

Upgrade to version 1.18.0 or above.

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/pkg/kubectl/CVE-2021-25743.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 07 Nov 2025 12:19:02 +0000.