GitHub Advisoryadvisory · Go

GHSA-gc2p-g4fg-29vh Kubernetes did not effectively clear service account credentials

HIGH Published 2022-05-24 Modified 2025-04-24 Official page ↗
Aliases
CVE-2019-11243
Ecosystem
Go
Packages
k8s.io/kubernetes
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-212, CWE-271
Reviewed
2025-04-24

Affected packages

• Go k8s.io/kubernetes: >= 1.12.0, < 1.12.5 → fixed in 1.12.5 • Go k8s.io/kubernetes: >= 1.13.0, < 1.13.1 → fixed in 1.13.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()

Related

Alias · CVE (1)

  • CVE-2019-11243 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… vulnerability

Weakness · CWE (2)

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer weakness
  • CWE-271 Privilege Dropping / Lowering Errors weakness

References