Ubuntu CVE Tracker
UBUNTU-CVE-2022-0759
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:20.04:LTS | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:24.04:LTS | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:25.10 | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:26.10 | ruby-kubeclient | All versions, no fix listed |
| Ubuntu:26.04:LTS | ruby-kubeclient | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2022-0759
- https://bugzilla.redhat.com/show_bug.cgi?id=2058404
- https://github.com/ManageIQ/kubeclient/issues/554
- https://github.com/ManageIQ/kubeclient/pull/556
- https://github.com/ManageIQ/kubeclient/issues/555
- https://github.com/ManageIQ/kubeclient/pull/556
- https://www.cve.org/CVERecord?id=CVE-2022-0759