Vulnerabilities in pkg:golang/k8s.io/client-go

PACKAGE
Advisory Identifier: GHSA-jmrx-5g74-6v2f
Advisory Summary

CVE-2019-11250 is a MODERATE (CVSS 6.5) kubernetes client-go library logs may vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting K8s.io/client go libraries in the Go ecosystem. The issue involves kubernetes client-go library logs may disclose credentials to unauthorized users. Remediation is available by upgrading affected packages to version 0.17.0, 1.16.0-beta.1.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/k8s.io/client-go

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/k8s.io/client-go. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-jmrx-5g74-6v2f CVE-2019-11250 MODERATE Kubernetes client-go library logs may disclose credentials to unauthorized users
GHSA-8cfg-vx93-jvxw CVE-2020-8565 MODERATE Kubernetes client-go vulnerable to Sensitive Information Leak via Log File
GHSA-2575-pghm-6qqx CVE-2019-11244 MODERATE Kubernetes Unsafe Cacheing

CVE-2019-11250 at a Glance

CVE Identifier CVE-2019-11250
GHSA Identifier GHSA-jmrx-5g74-6v2f
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product K8s.io/client go
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2019-11250

To remediate this vulnerability, upgrade all affected K8s.io/client go dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

k8s.io/client-go fixed: 0.17.0
Upgrade k8s.io/client-go to 0.17.0
k8s.io/kubernetes fixed: 1.16.0-beta.1
Upgrade k8s.io/kubernetes to 1.16.0-beta.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for k8s.io/client-go

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-11250, inspect your project dependencies for K8s.io/client go:

inspect dependencies for k8s.io/client-go

Analyze the terminal output to locate any version of K8s.io/client go in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.17.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In K8s.io/client go, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The Kubernetes client-go library logs request headers at verbosity levels of 7 or higher. This can disclose credentials to unauthorized users via logs or command output. Kubernetes components (such as kube-apiserver) prior to v1.16.0, which make use of basic or bearer token authentication, and run at high verbosity levels, are affected.

CVE-2019-11250 Affected K8s.io/client go Versions

2 component(s)
Fixed Versions:
0.17.01.16.0-beta.1
Product / Package Ecosystem Affected Versions Fixed Version
k8s.io/client-go
Go
< 0.17.0
0.17.0
k8s.io/kubernetes
Go
< 1.16.0-beta.1
1.16.0-beta.1

References

Frequently Asked Questions

What is CVE-2019-11250?
CVE-2019-11250 is a security vulnerability in K8s.io/client go involving Kubernetes client-go library logs may disclose credentials to unauthorized users under CWE-532: Insertion of Sensitive Information into Log File.
Which K8s.io/client go versions are affected?
Affected versions include releases prior to 0.17.0, 1.16.0-beta.1 across affected packages: k8s.io/client-go, k8s.io/kubernetes.
What version fixes CVE-2019-11250?
Upgrading to 0.17.0, 1.16.0-beta.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is k8s.io/client-go affected?
Yes, k8s.io/client-go is affected in releases prior to 0.17.0. Upgrade your dependency to 0.17.0 or later.
Is k8s.io/kubernetes affected?
Yes, k8s.io/kubernetes is affected in releases prior to 1.16.0-beta.1. Upgrade your dependency to 1.16.0-beta.1 or later.
What is the CVSS score of CVE-2019-11250?
CVE-2019-11250 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2019-11250?
CVE-2019-11250 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Go dependencies for CVE-2019-11250?
Run the dependency tree command: 'inspect dependencies for k8s.io/client-go'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jmrx-5g74-6v2f",
  "modified" : "2025-02-28T18:06:30Z",
  "published" : "2022-05-24T16:55:06Z",
  "aliases" : [ "CVE-2019-11250" ],
  "summary" : "Kubernetes client-go library logs may disclose credentials to unauthorized users",
  "details" : "The Kubernetes client-go library logs request headers at verbosity levels of 7 or higher. This can disclose credentials to unauthorized users via logs or command output. Kubernetes components (such as kube-apiserver) prior to v1.16.0, which make use of basic or bearer token authentication, and run at high verbosity levels, are affected.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "k8s.io/client-go"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.17.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "k8s.io/kubernetes"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.16.0-beta.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11250"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/issues/81114"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/pull/81330"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubernetes/kubernetes/commit/4441f1d9c3e94d9a3d93b4f184a591cab02a5245"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:4052"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2019:4087"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kubernetes/kubernetes"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2021-0065"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20190919-0003"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2020/10/16/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-532" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T00:35:06Z",
    "nvd_published_at" : "2019-08-29T01:15:00Z"
  }
}