Skip to content
OpenAdvisories
High · 8.1 CVE-2022-0759 EUVD-2022-1339GHSA-69p3-xp37-f692

Improper Certificate Validation in kubeclient

Published Mar 25, 2022 · Updated Aug 2, 2024 · Assigned by redhat

Description

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

Affected products

VendorProductAffectedFixed
— kubeclient 4.9.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-kubeclient 4.9.3-1 —
Debian 13 ruby-kubeclient 4.9.3-1 —
Debian 12 ruby-kubeclient 4.9.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 ruby-kubeclient No fix yet —
Ubuntu 26.04 LTS ruby-kubeclient No fix yet —
Ubuntu 25.10 ruby-kubeclient No fix yet —
Ubuntu 24.04 LTS ruby-kubeclient No fix yet —
Ubuntu 22.04 LTS ruby-kubeclient No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ruby-kubeclient No fix yet —
Ubuntu 18.04 LTS ruby-kubeclient No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Satellite Utils 6 foreman +1 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 foreman +1 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite Capsule 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite Capsule 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 foreman +13 3.7.0.9-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 puppet-agent 7.26.0-3.el8sat RHSA-2023:6818
Red Hat Satellite 6 puppetserver 7.11.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 python-django +1 3.2.21-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-future +1 0.18.3-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-gitpython +1 3.1.32-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-pulp-ansible +1 1:0.16.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-requests +1 2.31.0-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 python-sqlparse +1 0.4.4-1.el8pc RHSA-2023:6818
Red Hat Satellite 6 rubygem-actionpack +2 6.1.7.3-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-git 1.18.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-globalid 1.1.0-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-kubeclient 4.10.1-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 rubygem-rack 2.2.7-1.el8sat RHSA-2023:6818
Red Hat Satellite 6 yggdrasil-worker-forwarder 0.0.3-1.el8sat RHSA-2023:6818

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems kubeclient < 4.9.3 4.9.3 GHSA-69p3-xp37-f692

Advisories 3

References