ADVISORIES

GitHub Advisory Database

GHSA-gc2p-g4fg-29vh

Kubernetes did not effectively clear service account credentials

Details

In Kubernetes v1.12.0-v1.12.4 and v1.13.0, the rest.AnonymousClientConfig() method returns a copy of the provided config, with credentials removed (bearer token, username/password, and client certificate/key data). In the affected versions, rest.AnonymousClientConfig() did not effectively clear service account credentials loaded using rest.InClusterConfig()

Affected packages

EcosystemPackageAffected versions
Gok8s.io/kubernetes
From 1.12.0 before 1.12.5 (fixed in 1.12.5)
Gok8s.io/kubernetes
From 1.13.0 before 1.13.1 (fixed in 1.13.1)

References