Improper Certificate Validation Affecting rubygem-kubeclient-doc package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.09% (23rd 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-RHEL7-RUBYGEMKUBECLIENTDOC-5274444
  • published26 Mar 2023
  • disclosed22 Mar 2022

Introduced: 22 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 RHEL:7 rubygem-kubeclient-doc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-kubeclient-doc package and not the rubygem-kubeclient-doc package as distributed by RHEL. See How to fix? for RHEL:7 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 Base Scores

version 3.1