CVE-2021-25743 ANSI escape characters in kubectl output are not being filtered
LowCVSS 3.0
EPSS 0.84%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- KubernetesUbuntuDebian
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.
Upgrade path
8 packages: 5 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/kubernetes(Ubuntu 22.04) | = 1.0; All versions | No fix listed | No fix yet |
| ubuntu/kubernetes(Ubuntu 24.04) | = 1.0; All versions | No fix listed | No fix yet |
| ubuntu/kubernetes(Ubuntu Pro 20.04) | = 1.0; All versions | No fix listed | No fix yet |
| debian/kubernetes(Debian 12) | < 1.20.5+really1.20.2-1.1 | 1.20.5+really1.20.2-1.1 | Fixed |
| debian/kubernetes(Debian 13) | < 1.31.4+ds-1 | 1.31.4+ds-1 | Fixed |
| debian/kubernetes(Debian 14) | < 1.31.4+ds-1 | 1.31.4+ds-1 | Fixed |
| Kubernetes | <= 1.20.14; <= 1.21.8; <= 1.22.5; <= 1.23.1 +4 more | after 1.20.14, 1.21.8, 1.22.5, 1.23.1, 1.25.0 | Fixed |
| Kubernetes(Go) | < 1.26.0-alpha.3 | 1.26.0-alpha.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Kubernetes(Go) | < 1.26.0-alpha.3 | 1.26.0-alpha.3 |
| debian/kubernetes(Debian:12) | < 1.20.5+really1.20.2-1.1 | 1.20.5+really1.20.2-1.1 |
| debian/kubernetes(Debian:13) | < 1.31.4+ds-1 | 1.31.4+ds-1 |
| debian/kubernetes(Debian:14) | < 1.31.4+ds-1 | 1.31.4+ds-1 |
| Kubernetes | <= 1.25.0 | No fix listed |
| Kubernetes | = 1.26.0-alpha0 | No fix listed |
| Kubernetes | = 1.26.0-alpha1 | No fix listed |
| Kubernetes | = 1.26.0-alpha2 | No fix listed |
| Kubernetes | <= 1.23.1 | No fix listed |
| Kubernetes | >= next of 1.23.1 | No fix listed |
| Kubernetes | <= 1.22.5 | No fix listed |
| Kubernetes | >= next of 1.22.5 | No fix listed |
| Kubernetes | <= 1.21.8 | No fix listed |
| Kubernetes | >= next of 1.21.8 | No fix listed |
| Kubernetes | <= 1.20.14 | No fix listed |
| Kubernetes | >= next of 1.20.14 | No fix listed |
| ubuntu/kubernetes(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/kubernetes(Ubuntu:Pro:20.04) | = 1.0 | No fix listed |
| ubuntu/kubernetes(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/kubernetes(Ubuntu:22.04) | = 1.0 | No fix listed |
| ubuntu/kubernetes(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/kubernetes(Ubuntu:24.04) | = 1.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking vendor-advisory
- security.netapp.com third-party-advisory
- github.com patch
- github.com patch
- github.com vendor-advisory
- github.com product
- Debian Security Tracker CVE-2021-25743 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking