{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-25743","id":"CVE-2021-25743","title":"ANSI escape characters in kubectl output are not being filtered","description":"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.","descriptionLong":"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":"2022-01-07T00:00:12.399Z","updated":"2026-10-24T10:47:17.492123298Z","reserved":"2021-01-21T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"kubernetes","metric":{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"kubernetes"},"metrics":[{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"kubernetes"},{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"liggitt.net"},{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"NVD"},{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","rating":"low","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:N/AC:H/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"low","products":["Kubernetes"],"affectedProducts":[{"vendor":"Kubernetes","product":"Kubernetes","defaultStatus":null,"versions":[{"lessThanOrEqual":"1.23.1","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"unspecified","status":"unknown","version":"next of 1.23.1","versionType":"custom"},{"lessThanOrEqual":"1.22.5","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"unspecified","status":"unknown","version":"next of 1.22.5","versionType":"custom"},{"lessThanOrEqual":"1.21.8","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"unspecified","status":"unknown","version":"next of 1.21.8","versionType":"custom"},{"lessThanOrEqual":"1.20.14","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"unspecified","status":"unknown","version":"next of 1.20.14","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"k8s.io/kubernetes","purl":"pkg:golang/k8s.io/kubernetes","ranges":["<1.26.0-alpha.3"],"fixed":["1.26.0-alpha.3"],"advisory":"GHSA-f9jg-8p32-2f55"}],"cwes":["CWE-150"],"aliases":["GHSA-f9jg-8p32-2f55","GO-2022-0983"],"references":[{"url":"https://github.com/kubernetes/kubernetes/issues/101695","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20220217-0003/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25743","tags":["advisory"]},{"url":"https://github.com/kubernetes/kubernetes/pull/112553","tags":["web"]},{"url":"https://github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537","tags":["web"]},{"url":"https://github.com/kubernetes/kubernetes","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20220217-0003","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f9jg-8p32-2f55","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00844,"epssPercentile":0.58862,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-25743","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25743","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-25743","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f9jg-8p32-2f55","ok":true,"note":"GHSA-f9jg-8p32-2f55"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25743","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["kubernetes"],"critical":[],"attention":null}