Advisory

GHSA-69p3-xp37-f692

Also known as: CVE-2022-0759

Summary

Improper Certificate Validation in kubeclient

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-03-26 00:00 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

kubeclient

RubyGems · All systems

Affected

  • introduced 0, fixed 4.9.3 (ecosystem)

Fixed versions

4.9.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences