Improper Certificate Validation Affecting kubeclient package, versions <4.9.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.11% (45th 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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

8.1 high
Expand this section

Red Hat

8.3 high