Improper Removal of Sensitive Information Before Storage or Transfer Affecting github.com/kubernetes/kubernetes/staging/src/k8s.io/client-go/rest package, versions >=1.12.0 <1.12.5>=1.13.0 <1.13.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMKUBERNETESKUBERNETESSTAGINGSRCK8SIOCLIENTGOREST-9804433
  • published25 Apr 2025
  • disclosed24 May 2022
  • creditOleg Bulatov

Introduced: 24 May 2022

CVE-2019-11243  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade github.com/kubernetes/kubernetes/staging/src/k8s.io/client-go/rest to version 1.12.5, 1.13.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer via the rest.AnonymousClientConfig method that does not effectively clear service account credentials loaded using rest.InClusterConfig(). An attacker can gain unauthorized access to service account credentials by exploiting the improper clearing of these credentials.

CVSS Base Scores

version 4.0
version 3.1