CVE-2022-0759Redhat Kubeclient
High 8.1 No auth needed
Follow: this CVE · Redhat · Redhat Kubeclient We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Mar 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Kubeclient.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | kubeclient |
< 4.9.3 |
4.9.3 |
gem "kubeclient", ">= 4.9.3" |
Per OSV / GitHub Advisories (GHSA-69p3-xp37-f692). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | kubeclient | < 4.9.3 |
Official advisories
- Red Hat Security Advisory: Satellite 6.14 security and bug fix update · Red Hat · RHSA-2023:6818 · Oct 2, 2024 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory