Vulnerability · Published Mar 25, 2022 · Assigned by redhat
CVE-2022-0759
High 8.1
In plain English
A high-severity improper certificate validation in kubeclient. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ruby-kubeclient | 4.9.3-1 | DEBIAN-CVE-2022-0759 |
| Debian:13 | ruby-kubeclient | 4.9.3-1 | DEBIAN-CVE-2022-0759 |
| Debian:14 | ruby-kubeclient | 4.9.3-1 | DEBIAN-CVE-2022-0759 |
| RubyGems | kubeclient | 4.9.3 | GHSA-69p3-xp37-f692 |
| Ubuntu:22.04:LTS | ruby-kubeclient | no fix listed | UBUNTU-CVE-2022-0759 |
| Ubuntu:24.04:LTS | ruby-kubeclient | no fix listed | UBUNTU-CVE-2022-0759 |
| Ubuntu:25.10 | ruby-kubeclient | no fix listed | UBUNTU-CVE-2022-0759 |
| Ubuntu:26.04:LTS | ruby-kubeclient | no fix listed | UBUNTU-CVE-2022-0759 |
| Ubuntu:26.10 | ruby-kubeclient | no fix listed | UBUNTU-CVE-2022-0759 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | kubeclient | 4.9.3 |
Weakness: CWE-295
References
- https://github.com/ManageIQ/kubeclient/issues/554 x_refsource_MISC
- https://github.com/ManageIQ/kubeclient/issues/555 x_refsource_MISC