{"id":"CVE-2021-25743","published":"2022-01-07T00:00:12Z","modified":"2024-09-16T23:51:24Z","title":"ANSI escape characters in kubectl output are not being filtered","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00844,"percentile":0.55313,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/101695","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220217-0003/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":11.06},{"name":"CVSS severity","points":2.1}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[">= unspecified, <= 1.23.1",">= unspecified, <= 1.22.5",">= unspecified, <= 1.21.8",">= unspecified, <= 1.20.14"]}],"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":["<1.26.0-alpha.3"],"patched":["1.26.0-alpha.3"],"from":["GHSA-f9jg-8p32-2f55","GO-2022-0983"],"provenance":"source"}],"summary":{"text":"Kubernetes' kubectl does not neutralize escape, meta, or control sequences in the raw data it prints to a terminal, including unstructured string fields such as those in Events. An attacker who can place crafted content into such fields may be able to manipulate the output an operator sees, which requires some network access, low privileges, and user interaction (the victim must run a kubectl command that displays the affected data).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:18Z"},"euvd":{"id":"EUVD-2022-0579","exploited":false,"provenance":"source"}}