# CVE-2021-25743: ANSI escape characters in kubectl output are not being filtered

- Priority: **Routine**
- Reason: Not severe (CVSS 3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-07 · Modified: 2024-09-16
- Aliases: SUSE-SU-2024:2858-1, SUSE-SU-2024:2859-1, SUSE-SU-2024:2928-1, UBUNTU-CVE-2021-25743, DEBIAN-CVE-2021-25743, CGA-2368-mp66-wmf7, CGA-24pf-mj47-8wx4, CGA-2q4x-5x22-4894, CGA-4qqm-7wrg-2qgm, CGA-633c-m95r-26mg, CGA-8jwj-fm88-42g6, CGA-9jh4-rxrf-2pqj, CGA-j822-287v-hvmp, CGA-jgj6-cv43-cmhm, CGA-jr9x-2hgf-9w56, CGA-m5vg-3h4f-59q9, CGA-m9p8-5f5p-pjwf, CGA-qcpm-2wxj-p2x2, CGA-qrj7-5h97-83vc, CGA-r2r6-5gm8-m494, CGA-vxm9-f2cx-c8g2, GHSA-f9jg-8p32-2f55, GO-2022-0983, CGA-86vw-q2qg-76m6, CGA-8w8j-gjw2-8rg9
- Record: https://cvemate.com/vulnerability/CVE-2021-25743 · JSON: https://cvemate.com/vulnerability/CVE-2021-25743/json

## Description

```text
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.
```

## Signals

- CVSS: 3 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- EPSS: 0.844%, percentile 59.25%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 31)

- chainguard aws-efs-csi-driver (Chainguard): All versions (No fix recorded)
- chainguard aws-efs-csi-driver-fips (Chainguard): \< 2.1.14-r1
- chainguard kubectl-1.25 (Chainguard): All versions (No fix recorded)
- chainguard kubectl-1.25-default (Chainguard): All versions (No fix recorded)
- chainguard kubectl-bash-completion-1.25 (Chainguard): All versions (No fix recorded)
- chainguard kubeflow-pipelines (Chainguard): All versions (No fix recorded)
- chainguard kubernetes-dns-node-cache (Chainguard): All versions (No fix recorded)
- chainguard nodetaint (Chainguard): All versions (No fix recorded)
- chainguard spark-operator (Chainguard): All versions (No fix recorded)
- wolfi aws-efs-csi-driver (Wolfi): All versions (No fix recorded)
- wolfi kubectl-1.25 (Wolfi): All versions (No fix recorded)
- wolfi kubectl-1.25-default (Wolfi): All versions (No fix recorded)
- wolfi kubectl-bash-completion-1.25 (Wolfi): All versions (No fix recorded)
- wolfi kubeflow-pipelines (Wolfi): All versions (No fix recorded)
- wolfi kubernetes-dns-node-cache (Wolfi): All versions (No fix recorded)
- wolfi nodetaint (Wolfi): All versions (No fix recorded)
- wolfi spark-operator (Wolfi): All versions (No fix recorded)
- debian kubernetes (Debian): \< 1.20.5+really1.20.2-1.1 \| \< 1.31.4+ds-1
- ubuntu kubernetes (Ubuntu): All versions (No fix recorded)
- k8s.io kubernetes (Go): \< 1.26.0-alpha.3

## References

- <https://github.com/kubernetes/kubernetes/issues/101695>
- <https://security.netapp.com/advisory/ntap-20220217-0003/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242858-1/>
- <https://bugzilla.suse.com/1194400>
- <https://www.suse.com/security/cve/CVE-2021-25743>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242859-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20242928-1/>
- <https://ubuntu.com/security/CVE-2021-25743>
- <https://www.cve.org/CVERecord?id=CVE-2021-25743>
- <https://security-tracker.debian.org/tracker/CVE-2021-25743>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25743>
- <https://github.com/kubernetes/kubernetes/pull/112553>
- <https://github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537>
- <https://github.com/kubernetes/kubernetes>
- <https://security.netapp.com/advisory/ntap-20220217-0003>
- <https://github.com/advisories/GHSA-f9jg-8p32-2f55>

---

Data as of 2026-12-05T12:51:04.229Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
