low3.0
CVE-2021-25743
kubectl ANSI escape characters not filtered
Impact
kubectl (k8s.io/kubernetes/pkg/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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | k8s.io/kubernetes | < 1.26.0-alpha.3 | 1.26.0-alpha.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Kubernetes | Kubernetes | through 1.25.0 Version 1.26.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/kubernetes/kubernetes/issues/101695
- https://security.netapp.com/advisory/ntap-20220217-0003/
- https://github.com/advisories/GHSA-f9jg-8p32-2f55
- https://nvd.nist.gov/vuln/detail/CVE-2021-25743
- https://github.com/kubernetes/kubernetes/pull/112553
- https://github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537