Improper Certificate Validation Affecting kubeclient Open this link in a new tab package, versions <4.9.3


0.0
high
  • Attack Complexity

    High

  • User Interaction

    Required

  • Scope

    Changed

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    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.