Live threats

All CVEs / Redhat

CVE-2022-0759Redhat Kubeclient

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Mar 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Kubeclient.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems kubeclient < 4.9.3 4.9.3 gem "kubeclient", ">= 4.9.3"

Per OSV / GitHub Advisories (GHSA-69p3-xp37-f692). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatkubeclient< 4.9.3

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.

  • github.com Issue Tracking Patch Third Party Advisory
  • github.com Issue Tracking Patch Third Party Advisory