CVE-2022-0759 Improper Certificate Validation in kubeclient
HighCVSS 8.1
EPSS 0.94%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems kubeclient(RubyGems) | < 4.9.3 | 4.9.3 |
| rubygems kubeclient(RubyGems) | = 0.0.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.3 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.4 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.5 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.6 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.7 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.8 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.0.9 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.10 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.11 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.12 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.13 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.14 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.15 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.16 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.17 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.3 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.4 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.5 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.6 | No fix listed |
Show 72 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems kubeclient(RubyGems) | = 0.1.7 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.8 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.1.9 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.2.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.3.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.4.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.5.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.5.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.6.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.7.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.8.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.8.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 0.9.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.0.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.1.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.1.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.1.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.1.3 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.1.4 | No fix listed |
| rubygems kubeclient(RubyGems) | = 1.2.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.0.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.1.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.2.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.3.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.4.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.5.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 2.5.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 3.0.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 3.1.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 3.1.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 3.1.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.0.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.1.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.1.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.1.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.2.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.2.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.2.2 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.3.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.4.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.5.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.6.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.7.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.8.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.9.0 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.9.1 | No fix listed |
| rubygems kubeclient(RubyGems) | = 4.9.2 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:22.04) | All versions | No fix listed |
| redhat kubeclient | < 4.9.3 | 4.9.3 |
| ubuntu/ruby-kubeclient(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.10) | All versions | No fix listed |
| debian/ruby-kubeclient(Debian:12) | < 4.9.3-1 | 4.9.3-1 |
| debian/ruby-kubeclient(Debian:14) | < 4.9.3-1 | 4.9.3-1 |
| debian/ruby-kubeclient(Debian:13) | < 4.9.3-1 | 4.9.3-1 |
| ubuntu/ruby-kubeclient(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:18.04) | = 2.3.0-2 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:18.04) | = 3.0.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:20.04) | = 4.3.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:20.04) | = 4.5.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:20.04) | = 4.6.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:22.04) | = 4.9.1-2 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:22.04) | = 4.9.2-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:22.04) | = 4.9.2-2 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:24.04) | = 4.11.0-2 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:25.10) | = 4.12.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.10) | = 4.13.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.10) | = 4.13.0-4 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.04) | = 4.12.0-1 | No fix listed |
| ubuntu/ruby-kubeclient(Ubuntu:26.04) | = 4.13.0-1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch
- github.com patch
- github.com exploit
- github.com
- github.com product
- Debian Security Tracker CVE-2022-0759 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- bugzilla.redhat.com issue-tracking