CVE-2021-25743

ANSI escape characters in kubectl output are not being filtered

Published Jan 7, 2022 CVSS 3.1 · 3 Low EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0579 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.
Github GHSA Github GHSA GHSA-f9jg-8p32-2f55 kubectl ANSI escape characters not filtered
History
Type Values Removed Values Added
CPEs cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.0:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.1:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.2:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha0:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha2:*:*:*:*:*:*
Type Values Removed Values Added
CPEs cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.0:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.1:*:*:*:*:*:*
cpe:2.3:a:kubernetes:kubernetes:1.26.0:alpha.2:*:*:*:*:*:*
Weaknesses
  • CWE-150

    Improper Neutralization of Escape, Meta, or Control Sequences

  • CWE-20

    Improper Input Validation

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • NVD-CWE-Other

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Sep 16, 2024, 11:51 PM
Reserved
Jan 21, 2021, 12:00 AM
Status
Analyzed
Published
Jan 7, 2022, 12:15 AM
Modified
Jun 17, 2026, 3:42 AM
Severity
Low
Public date
Jan 6, 2022, 12:00 AM