LOW3.0
GHSA-f9jg-8p32-2f55
kubectl ANSI escape characters not filtered
Quick fix
GHSA-f9jg-8p32-2f55 — k8s.io/kubernetes: upgrade to the fixed version with the command below.
go get k8s.io/kubernetes@v1.26.0-alpha.3Details
kubectl (k8s.io/kubernetes/pkg/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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/k8s.io/kubernetes
Introduced in:
0Fixed in: 1.26.0-alpha.3Fix
go get k8s.io/kubernetes@v1.26.0-alpha.3References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25743[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/101695[WEB]
- https://github.com/kubernetes/kubernetes/pull/112553[WEB]
- https://github.com/kubernetes/kubernetes/commit/dad0e937c0f76344363eb691b2668490ffef8537[WEB]
- https://github.com/kubernetes/kubernetes[PACKAGE]
- https://security.netapp.com/advisory/ntap-20220217-0003[WEB]