CVE-2022-0759
HIGH 8.1CVSS 3.1Improper Certificate Validation in kubeclient
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
- 25 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-69p3-xp37-f692
- Sources
- NVDJSONOSV GHSA-69p3-xp37-f692JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | kubeclientcpe:2.3:a:redhat:kubeclient:*:*:*:*:*:ruby:*:* |
< 4.9.3 | 4.9.3 |
| OSV | RubyGems | kubeclient | < 4.9.3 | 4.9.3 |
References
- https://github.com/ManageIQ/kubeclient/issues/554 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/ManageIQ/kubeclient/issues/555 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0759 · ADVISORY
- https://github.com/ManageIQ/kubeclient/pull/556 · WEB
- https://github.com/ManageIQ/kubeclient/commit/109ea71de5a8881748f03ebbe103b49f0f1c7887 · WEB
- https://github.com/ManageIQ/kubeclient · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kubeclient/CVE-2022-0759.yml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2022)