CVE-2021-25743 is a vulnerability in Kubernetes
Published on January 7, 2022
ANSI escape characters in kubectl output are not being filtered
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.
Vulnerability Analysis
CVE-2021-25743 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, with no impact on integrity, and no impact on availability.
Weakness Type
Improper Neutralization of Escape, Meta, or Control Sequences
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. As data is parsed, an injected/absent/malformed delimiter may cause the process to take unexpected actions.
Products Associated with CVE-2021-25743
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-25743 are published in Kubernetes:
Affected Versions
Kubernetes:- Version unspecified, <= 1.23.1 is affected.
- Version next of 1.23.1 and below unspecified is unknown.
- Version unspecified, <= 1.22.5 is affected.
- Version next of 1.22.5 and below unspecified is unknown.
- Version unspecified, <= 1.21.8 is affected.
- Version next of 1.21.8 and below unspecified is unknown.
- Version unspecified, <= 1.20.14 is affected.
- Version next of 1.20.14 and below unspecified is unknown.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.