VDB

CVE-2022-0759

CVE-2022-0759 PUBLISHED CVSS 8.100000381469727 HIGH

Improper Certificate Validation in kubeclient

Reported by redhat · Published March 25, 2022

kubeclient is fixed in 4.9.3 (RubyGems)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kubeclientRubyGems4.9.3
kubeclientredhat4.9.3

Risk scores

CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/akubeclient4.9.3
RubyGemskubeclient0
n/akubeclient4.9.3

Timeline

  • Mar 25, 2022 CVE Published
  • Mar 26, 2022 EPSS Score (30 in total, the first dated here)
  • Nov 21, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory (39 in total, the first dated here)
  • Jul 12, 2026 Coalition ESS Score
  • Aug 29, 2026 PoC Published (2 in total, the first dated here)
  • Oct 13, 2026 Distribution Patch (38 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-0759
vulnetix vdb fixes CVE-2022-0759

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-0759/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›