Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. kubeclient
  4. ›
  5. CVE-2022-0759

CVE-2022-0759: Improper Certificate Validation

March 25, 2022 (updated April 7, 2022)

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

References

  • github.com/ManageIQ/kubeclient/issues/554
  • github.com/ManageIQ/kubeclient/issues/555
  • github.com/ManageIQ/kubeclient/pull/556
  • github.com/advisories/GHSA-69p3-xp37-f692
  • nvd.nist.gov/vuln/detail/CVE-2022-0759

Code Behaviors & Features

Detect and mitigate CVE-2022-0759 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.9.3

Fixed versions

  • 4.9.3

Solution

Upgrade to version 4.9.3 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

gem/kubeclient/CVE-2022-0759.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.