Improper Certificate Validation Affecting kubeclient package, versions <4.9.3


0.0
high

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Scope Changed
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.11% (44th percentile)
Expand this section
NVD
8.1 high
Expand this section
Red Hat
8.3 high

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 ID SNYK-RUBY-KUBECLIENT-2433131
  • published 25 Mar 2022
  • disclosed 22 Mar 2022
  • credit Unknown

How to fix?

Upgrade kubeclient to version 4.9.3 or higher.

Overview

kubeclient is a client for Kubernetes REST API.

Affected versions of this package are vulnerable to Improper Certificate Validation via the parsing process of kubeconfig files. When the kubeconfig file does not configure custom CA to verify certs, kubeclient ends up accepting any certificate (it wrongly returns VERIFY_NONE), which can lead to a man-in-the-middle attack.