p PatchFirst

CVE-2022-0759

CVE-2022-0759

CVSS 8.1 · High · EPSS 0.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-kubeclient"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

Published
Updated

Fixes in distributions

  • RHSA-2023:6818 · Red Hat satellite 6.14 el8, Red Hat satellite capsule 6.14 el8, Red Hat satellite utils 6.14 el8 ·

Stack: system · ruby

Affected products and versions

  • kubeclient

    Versions
    • 4.9.3: Affected

    No fix published

  • ruby-kubeclient Debian 12

    Affected ranges
    • ECOSYSTEM: < 4.9.3-1

    Update to 4.9.3-1

  • ruby-kubeclient Debian 13

    Affected ranges
    • ECOSYSTEM: < 4.9.3-1

    Update to 4.9.3-1

  • ruby-kubeclient Debian 14

    Affected ranges
    • ECOSYSTEM: < 4.9.3-1

    Update to 4.9.3-1

  • kubeclient RubyGems

    Versions
    • 0.0.1
    • 0.0.2
    • 0.0.3
    • 0.0.4
    • 0.0.5
    • 0.0.6
    All versions (71)
    • 0.0.7
    • 0.0.8
    • 0.0.9
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.16
    • 0.1.17
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.3.0
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.7.0
    • 0.8.0
    • 0.8.1
    • 0.9.0
    • 1.0.0
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.2.0
    • 2.0.0
    • 2.1.0
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 2.5.1
    • 2.5.2
    • 3.0.0
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 4.0.0
    • 4.1.0
    • 4.1.1
    • 4.1.2
    • 4.2.0
    • 4.2.1
    • 4.2.2
    • 4.3.0
    • 4.4.0
    • 4.5.0
    • 4.6.0
    • 4.7.0
    • 4.8.0
    • 4.9.0
    • 4.9.1
    • 4.9.2
    Affected ranges
    • ECOSYSTEM: < 4.9.3

    Update to 4.9.3

  • ruby-kubeclient Ubuntu 18.04 LTS

    Versions
    • 2.3.0-2
    • 3.0.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 20.04 LTS

    Versions
    • 4.3.0-1
    • 4.5.0-1
    • 4.6.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 22.04 LTS

    Versions
    • 4.9.1-2
    • 4.9.2-1
    • 4.9.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 24.04 LTS

    Versions
    • 4.11.0-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 25.10

    Versions
    • 4.12.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 26.10

    Versions
    • 4.13.0-1
    • 4.13.0-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby-kubeclient Ubuntu 26.04 LTS

    Versions
    • 4.12.0-1
    • 4.13.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →