Improper Certificate Validation Affecting ruby-kubeclient package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.09% (39th 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-DEBIAN10-RUBYKUBECLIENT-2433144
  • published25 Mar 2022
  • disclosed25 Mar 2022

Introduced: 25 Mar 2022

CVE-2022-0759  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 ruby-kubeclient.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-kubeclient package and not the ruby-kubeclient package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

A flaw was found in all versions of kubeclient up to (but not including) v4.9.3, the Ruby client for Kubernetes REST API, in the way it parsed 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). Ruby applications that leverage kubeclient to parse kubeconfig files are susceptible to Man-in-the-middle attacks (MITM).

CVSS Scores

version 3.1