CVE-2021-25743
LOW 3.0CVSS 3.1kubectl ANSI escape characters not 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.
- Published
- 7 Jan 2022
- Last modified
- 10 Sep 2026
- Assigned by
- jordan@liggitt.net
- NVD status
- Analyzed
- Weakness
- CWE-150
- Also known as
- GHSA-f9jg-8p32-2f55GO-2022-0983
- Sources
- NVDJSONOSV GHSA-f9jg-8p32-2f55JSONOSV GO-2022-0983JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | jordan@liggitt.net (Secondary) | CVSS 3.1 | LOW 3.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:N/AC:H/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* |
<= 1.25.0 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha0:*:*:*:*:*:* |
= 1.26.0 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha1:*:*:*:*:*:* |
= 1.26.0 | |
| NVD | kubernetes | kubernetescpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha2:*:*:*:*:*:* |
= 1.26.0 | |
| OSV | Go | k8s.io/kubernetes | < 1.26.0-alpha.3 | 1.26.0-alpha.3 |
References
- https://github.com/kubernetes/kubernetes/issues/101695 · Vendor Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220217-0003/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-25743 · ADVISORY
- https://github.com/kubernetes/kubernetes/pull/112553 · WEB
- https://github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537 · WEB
- https://github.com/kubernetes/kubernetes · PACKAGE
- https://github.com/advisories/GHSA-f9jg-8p32-2f55 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Jan 2022)