What’s Vulnerable › Vulnerabilities
CVE-2021-25743: ANSI escape characters in kubectl output are not being filtered
- Severity: low (CVSS 3.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-07 · updated 2026-06-17
- Weakness: CWE-150
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 products
- Kubernetes: through 1.25.0; 1.26.0-alpha0, 1.26.0-alpha1, 1.26.0-alpha2
References
- https://github.com/kubernetes/kubernetes/issues/101695
- https://security.netapp.com/advisory/ntap-20220217-0003/
- https://github.com/kubernetes/kubernetes/issues/101695
- https://security.netapp.com/advisory/ntap-20220217-0003/
Get alerted when CVE-2021-25743 or the next vulnerability affects your stack