CVE-2021-25743: ANSI escape characters in kubectl output are not being filtered
Vulnerability summary
CVE-2021-25743 is a low (CVSS 3.0) vulnerability in kubernetes. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 59.2% of scored vulnerabilities.
Not severe (CVSS 3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 20Timeline
- 07-01-2022PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- OSV · GoEcosystem advisory · calculated3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- NVDNIST3.0LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
EPSS trend
Probability
0.84%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.84% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- aws-efs-csi-driverAll versions (No fix recorded)
- aws-efs-csi-driver-fips< 2.1.14-r1
- kubectl-1.25All versions (No fix recorded)
- kubectl-1.25-defaultAll versions (No fix recorded)
- kubectl-bash-completion-1.25All versions (No fix recorded)
Wolfi8 products
- aws-efs-csi-driverAll versions (No fix recorded)
- kubectl-1.25All versions (No fix recorded)
- kubectl-1.25-defaultAll versions (No fix recorded)
- kubectl-bash-completion-1.25All versions (No fix recorded)
- kubeflow-pipelinesAll versions (No fix recorded)
Opensuse6 products
- kubernetes1.23&distro=openSUSE Leap 15.5< 1.23.17-150500.3.15.1
- kubernetes1.23&distro=openSUSE Leap 15.6< 1.23.17-150500.3.15.1
- kubernetes1.24&distro=openSUSE Leap 15.5< 1.24.17-150500.3.19.1
- kubernetes1.24&distro=openSUSE Leap 15.6< 1.24.17-150500.3.19.1
- kubernetes1.25&distro=openSUSE Leap 15.5< 1.25.16-150400.9.10.1
Suse4 products
- kubernetes1.23&distro=SUSE Linux Enterprise Module for Containers 15 SP5< 1.23.17-150500.3.15.1
- kubernetes1.24&distro=SUSE Linux Enterprise Module for Containers 15 SP5< 1.24.17-150500.3.19.1
- kubernetes1.25&distro=SUSE Linux Enterprise Module for Containers 15 SP5< 1.25.16-150400.9.10.1
- kubernetes1.25&distro=SUSE Linux Enterprise Module for Containers 15 SP6< 1.25.16-150400.9.10.1
Debian1 product
- kubernetes< 1.20.5+really1.20.2-1.1 | < 1.31.4+ds-1
K8s.io1 product
- kubernetes< 1.26.0-alpha.3
Kubernetes1 product
- kubernetesEOL≥ unspecified, ≤ 1.23.1 | ≥ unspecified, ≤ 1.22.5 | ≥ unspecified, ≤ 1.21.8 | ≥ unspecified, ≤ 1.20.14 | ≤ 1.25.0 | 1.26.0:alpha0 | 1.26.0:alpha1 | 1.26.0:alpha2
Ubuntu1 product
- kubernetesAll versions (No fix recorded)
8 vendors · 31 products