CVE-2022-0759

High

Description

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).

SeverityHigh
CVSS8.1
Exploit probability—
ProductRedhat Kubeclient
PublishedMar 25, 2022
First seenMar 25, 2022
Weakness typeCWE-295CWE-295

How to fix

Update
  • redhat kubeclient4.9.3 or later

Affected products

ProductAffected versionsFixed in
redhat kubeclientv < 4.9.34.9.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.