cve.bz

CVE-2022-0759 redhat kubeclient: Improper Certificate Validation

8.1 highEPSS 0.9%Fix available

High (8.1) in redhat kubeclient. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in kubeclient 4.9.3.

On this page
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).

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-0759 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0759?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0759?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-0759 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:kubeclientbefore 4.9.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-69p3-xp37-f692RubyGemskubeclient<4.9.34.9.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ruby-kubeclient4.9.3-1DEBIAN-CVE-2022-0759
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreruby-kubeclientno fix listedUBUNTU-CVE-2022-0759
Red Hatsatellite:6.14::el8foreman, foreman-cli, foreman-ec2 and 11 more0:3.7.0.9-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-actionpack, rubygem-activerecord, rubygem-activesupport0:6.1.7.3-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-git0:1.18.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-globalid0:1.1.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8rubygem-kubeclient0:4.10.1-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8yggdrasil-worker-forwarder0:0.0.3-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppet-agent0:7.26.0-3.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8puppetserver0:7.11.0-1.el8satRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-django, python39-django0:3.2.21-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-future, python39-future0:0.18.3-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-gitpython, python39-gitpython0:3.1.32-1.el8pcRHSA-2023:6818
Red Hatsatellite:6.14::el8, satellite_capsule:6.14::el8python-pulp-ansible, python39-pulp-ansible1:0.16.0-1.el8pcRHSA-2023:6818
5 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Logging subsystem for Red Hat OpenShift 5.4openshift-logging/fluentd-rhel8:v1.14.5-3Fixed 2022-04-20RHSA-2022:1461
OpenShift Logging 5.2openshift-logging/fluentd-rhel8:v1.7.4-176Fixed 2022-05-11RHSA-2022:2218
OpenShift Logging 5.3openshift-logging/fluentd-rhel8:v1.7.4-178Fixed 2022-05-11RHSA-2022:2217
Red Hat Satellite 6.14 for RHEL 8tfm-rubygem-kubeclient-0:4.10.1-1.el8satFixed 2023-11-08RHSA-2023:6818
RHOL-5.5-RHEL-8openshift-logging/fluentd-rhel8:v1.14.6-29Fixed 2022-08-18RHSA-2022:6051
Logging Subsystem for Red Hat OpenShiftrubygem-kubeclientNot affected
OpenShift Service Mesh 2.1servicemeshNot affected
Red Hat OpenShift Container Platform 3.11rubygem-kubeclientWill not fix
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-0759.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON