ADVISORIES

GitHub Advisory Database

GHSA-8cfg-vx93-jvxw

Kubernetes client-go vulnerable to Sensitive Information Leak via Log File

Details

In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects <= v1.19.5, <= v1.18.13, <= v1.17.15, < v1.20.0-alpha2.

Affected packages

EcosystemPackageAffected versions
Gok8s.io/client-go
From 0.19.0 before 0.19.6 (fixed in 0.19.6)
Gok8s.io/client-go
From 0.20.0-alpha.0 before 0.20.0-alpha.2 (fixed in 0.20.0-alpha.2)
Gok8s.io/client-go
From 0.18.0 before 0.18.14 (fixed in 0.18.14)
Gok8s.io/client-go
All versions before 0.17.16 (fixed in 0.17.16)
Gok8s.io/kubernetes
All versions before 1.20.0-alpha.2 (fixed in 1.20.0-alpha.2)

References