CVE-2021-25743

ANSI escape characters in kubectl output are not being filtered

LOW
3
CVSS Score
Published: January 7, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 03:42 AM UTC
1 product affected across 1 vendorKubernetes

Using Kubernetes by Kubernetes?

Get instant alerts when new vulnerabilities affect Kubernetes - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3
Exploit prediction
EPSS 0.8%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.20.14v ≤ 1.21.8v ≤ 1.22.5v ≤ 1.23.1v ≤ 1.25.01.26.0 alpha01.26.0 alpha11.26.0 alpha2
Vendor states this is fixed in next of 1.20.14 (unknown)
Vendor states this is fixed in next of 1.21.8 (unknown)
Vendor states this is fixed in next of 1.22.5 (unknown)
Vendor states this is fixed in next of 1.23.1 (unknown)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

CVSS

3LOWkubernetes
Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-150NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card