GHSA-gc2p-g4fg-29vhHighCVSS 8.1

Kubernetes did not effectively clear service account credentials

Published
May 24, 2022
Last Modified
April 24, 2025

🔗 CVE IDs covered (1)

📋 Description

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 products2

  • go/k8s.io/kubernetes:>= 1.12.0, < 1.12.5
  • go/k8s.io/kubernetes:>= 1.13.0, < 1.13.1

🔗 References (4)