GHSA-69p3-xp37-f692

Improper Certificate Validation in kubeclient

En bref

Publiée
Mise à jour
CVE
CVE-2022-0759
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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

Paquets affectés

PaquetVersions
RubyGems · kubeclientintroduced 0, fixed 4.9.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database