Skip to main content
← All vulnerabilities
CVE-2021-25743GHSA-F9JG-8P32-2F55GO-2022-0983

ANSI escape characters in kubectl output are not being filtered

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.26.0-alpha.3
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Kubernetes Kubernetes

    through 1.23.1; through 1.22.5; through 1.21.8; through 1.20.14

  • k8s.io/kubernetesGo

    fixed in 1.26.0-alpha.3

References 2

GitHub · kubernetes/kubernetes

security.netapp.com