CVE-2021-25743
kubectl ANSI escape characters not filtered
Record from NVD · Published January 6, 2022
k8s.io/kubernetes/pkg/kubectl is fixed in 1.18.0 (Go Modules)
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.
EPSS 0.84% · 58.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| k8s.io/kubernetes | Go Modules | 1.26.0-alpha.3 |
| k8s.io/kubernetes/pkg/kubectl | Go Modules | 1.18.0 |
| aws-efs-csi-driver-fips | Chainguard | 2.1.14-r1 |
| Kubernetes | Kubernetes | unspecified, 1.25.0, 1.23.1, 1.22.5, 1.21.8, 1.20.14 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| kubernetes | kubernetes | 0, 1.26.0 |
Timeline
- Jan 6, 2022 CVE Published
- Jan 7, 2022 EPSS Score (30 in total, the first dated here)
- Mar 23, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Aug 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-25743
vulnetix vdb fixes CVE-2021-25743
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-25743/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart