Skip to content
Heist/ feed
Back to feed
HighFix available

ruby-kubeclient — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-0759

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

Products
ruby-kubeclient
Affected versions
Not specified
Fixed versions
4.9.3-1
CVEs
CVE-2022-0759
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-0759

core-osv · Original source

Published 25 Mar 2022, 19:15 UTC

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

osv:DEBIAN-CVE-2022-0759

ruby-kubeclient

Fixed versions: 4.9.3-1

ruby-kubeclient

Fixed versions: 4.9.3-1

ruby-kubeclient

Fixed versions: 4.9.3-1

Complete source record
{
  "id": "3eab17ee786a92cbe420b185cacb485ab2484870a0a2b7192fbc3f8e5bcb430f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-0759",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-0759",
    "summary": "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).",
    "evidence": "osv:DEBIAN-CVE-2022-0759",
    "products": [
      {
        "name": {
          "value": "ruby-kubeclient",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.3-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-kubeclient",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.3-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ruby-kubeclient",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.3-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-0759",
      "aliases": [
        "DEBIAN-CVE-2022-0759"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.9.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-kubeclient",
            "purl": "pkg:deb/debian/ruby-kubeclient?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0759.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.9.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-kubeclient",
            "purl": "pkg:deb/debian/ruby-kubeclient?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0759.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.9.3-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ruby-kubeclient",
            "purl": "pkg:deb/debian/ruby-kubeclient?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-0759.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:00:32.615914760Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-0759"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-0759"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-0759",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322511,
  "published_at": "2022-03-25T19:15:10.283+00:00"
}