VDB
Sign up
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.3

Details

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.3
Fixgo get k8s.io/kubernetes@v1.26.0-alpha.3

References