# CVE-2022-0759: Improper Certificate Validation in kubeclient

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2022-03-25T18:03:10.000Z
- Modified: 2026-06-17T04:21:11.727Z
- Also known as: GHSA-69p3-xp37-f692
- Weaknesses: CWE-295
- 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).

(As written by CVE List.)

## Affected

- kubeclient: 4.9.3
- kubeclient (RubyGems): before 4.9.3
- redhat kubeclient: before 4.9.3

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

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

## Sources

- CVE List: [CVE-2022-0759](https://www.cve.org/CVERecord?id=CVE-2022-0759), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-69p3-xp37-f692](https://github.com/advisories/GHSA-69p3-xp37-f692), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0759](https://nvd.nist.gov/vuln/detail/CVE-2022-0759), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0759 · Whole record: https://cve.day/CVE-2022-0759.json · Rebuilt by cve.day 2026-11-25T22:58:10.269Z
