CVE-2022-0759
Ruby vulnerability analysis and mitigation

Overview

CVE-2022-0759 is a security vulnerability discovered in kubeclient, the Ruby client for Kubernetes REST API, related to the way it parsed kubeconfig files. The vulnerability was disclosed in March 2022. When the kubeconfig did not define a custom CA (which is a normal situation for production clusters with public domain and certificate), Config would return ssloptions[:verifyssl] hard-coded to VERIFY_NONE, potentially allowing man-in-the-middle attacks (Github Issue).

Technical details

The vulnerability stems from a dangerous default configuration in Kubeclient::Config where whenever kubeconfig did not define custom CA, the Config would return ssloptions[:verifyssl] set to VERIFY_NONE. Additionally, the insecure-skip-tls-verify field in kubeconfig was never honored, preventing users from overriding the default behavior (Github Issue, Github Issue).

Impact

This vulnerability could allow man-in-the-middle (MITM) attacks by accepting ANY certificate instead of checking the server's certificate against the system CA store. This is particularly dangerous when using user/password or token credentials, as an MITM attacker could steal these credentials and gain full access to the cluster with the same privileges as the legitimate user (Github Issue).

Mitigation and workarounds

The vulnerability was addressed in subsequent releases of affected products, including Red Hat OpenShift Logging 5.3.7 and Logging Subsystem 5.5.0. Users should upgrade to the patched versions to protect against potential MITM attacks (Red Hat Advisory, Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4249-gjr8-jpq3HIGH8.7
  • RubyRuby
  • prosemirror_to_html
NoYesNov 13, 2025
CVE-2025-64501HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 10, 2025
GHSA-vfpf-xmwh-8m65HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 07, 2025
GHSA-52c5-vh7f-26fxHIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 06, 2025
CVE-2025-12790HIGH7.4
  • RubyRuby
  • mqtt
NoYesNov 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management