{"id":"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).","modified":"2026-05-20T16:07:18.634084272Z","published":"2022-03-25T19:15:00Z","upstream":["CVE-2022-0759"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0759"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2058404"},{"type":"REPORT","url":"https://github.com/ManageIQ/kubeclient/issues/554"},{"type":"REPORT","url":"https://github.com/ManageIQ/kubeclient/pull/556"},{"type":"REPORT","url":"https://github.com/ManageIQ/kubeclient/issues/555"},{"type":"REPORT","url":"https://github.com/ManageIQ/kubeclient/pull/556"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-0759"}],"affected":[{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.0-2","3.0.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-kubeclient","binary_version":"3.0.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}},{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.0-1","4.5.0-1","4.6.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.6.0-1","binary_name":"ruby-kubeclient"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}},{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.1-2","4.9.2-1","4.9.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-kubeclient","binary_version":"4.9.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}},{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11.0-2"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-kubeclient","binary_version":"4.11.0-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}},{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-kubeclient","binary_version":"4.12.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}},{"package":{"name":"ruby-kubeclient","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-kubeclient?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.0-1","4.13.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-kubeclient","binary_version":"4.13.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0759.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}