{"id":"CVE-2021-25743","state":"PUBLISHED","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.","publishedAt":"2022-01-07T00:00:12.399Z","updatedAt":"2024-09-16T23:51:24.348Z","severity":{"score":3,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","source":"kubernetes"},"assigner":"kubernetes","products":["Kubernetes Kubernetes"],"affected":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"1.23.1","versionType":"custom"},{"version":"next of 1.23.1","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.22.5","versionType":"custom"},{"version":"next of 1.22.5","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.21.8","versionType":"custom"},{"version":"next of 1.21.8","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.20.14","versionType":"custom"},{"version":"next of 1.20.14","status":"unknown","lessThan":"unspecified","versionType":"custom"}]}],"references":["https://github.com/kubernetes/kubernetes/issues/101695","https://security.netapp.com/advisory/ntap-20220217-0003/"],"weaknesses":["CWE-150"],"ingestedAt":"2026-10-29T19:48:10.461Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/25xxx/CVE-2021-25743.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-25743","state":"PUBLISHED","datePublished":"2022-01-07T00:00:12.399Z","dateUpdated":"2024-09-16T23:51:24.348Z","assignerShortName":"kubernetes","assignerOrgId":"a6081bf6-c852-4425-ad4f-a67919267565","dateReserved":"2021-01-21T00:00:00.000Z"},"containers":{"cna":{"title":"ANSI escape characters in kubectl output are not being filtered","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Kubernetes","product":"Kubernetes","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"1.23.1","versionType":"custom"},{"version":"next of 1.23.1","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.22.5","versionType":"custom"},{"version":"next of 1.22.5","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.21.8","versionType":"custom"},{"version":"next of 1.21.8","status":"unknown","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.20.14","versionType":"custom"},{"version":"next of 1.20.14","status":"unknown","lessThan":"unspecified","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-150","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"kubernetes","dateUpdated":"2022-02-17T17:06:37.000Z","orgId":"a6081bf6-c852-4425-ad4f-a67919267565"},"credits":[{"lang":"en","value":"Eviatar Gerzi"}],"datePublic":"2021-05-02T00:00:00.000Z","source":{"defect":["https://github.com/kubernetes/kubernetes/issues/101695"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@kubernetes.io","DATE_PUBLIC":"2021-05-02T12:06:00.000Z","ID":"CVE-2021-25743","STATE":"PUBLIC","TITLE":"ANSI escape characters in kubectl output are not being filtered"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Kubernetes","version":{"version_data":[{"version_affected":"<=","version_value":"1.23.1"},{"version_affected":"?>","version_value":"1.23.1"},{"version_affected":"<=","version_value":"1.22.5"},{"version_affected":"?>","version_value":"1.22.5"},{"version_affected":"<=","version_value":"1.21.8"},{"version_affected":"?>","version_value":"1.21.8"},{"version_affected":"<=","version_value":"1.20.14"},{"version_affected":"?>","version_value":"1.20.14"}]}}]},"vendor_name":"Kubernetes"}]}},"credit":[{"lang":"eng","value":"Eviatar Gerzi"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences"}]}]},"references":{"reference_data":[{"name":"https://github.com/kubernetes/kubernetes/issues/101695","refsource":"MISC","url":"https://github.com/kubernetes/kubernetes/issues/101695"},{"name":"https://security.netapp.com/advisory/ntap-20220217-0003/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220217-0003/"}]},"source":{"defect":["https://github.com/kubernetes/kubernetes/issues/101695"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/kubernetes/kubernetes/issues/101695","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220217-0003/","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T20:11:27.596Z"}}]}}}