Vulnerability · Published Mar 1, 2023 · Assigned by kubernetes

CVE-2022-3294Node address isn't always verified when proxying

Medium 6.6

In plain English

A medium-severity improper input validation in Kubernetes from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)1.6%top 23.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

Users may have access to secure endpoints in the control plane network. Kubernetes clusters are only affected if an untrusted user can modify Node objects and send proxy requests to them. Kubernetes supports node proxying, which allows clients of kube-apiserver to access endpoints of a Kubelet to establish connections to Pods, retrieve container logs, and more. While Kubernetes already validates the proxying address for Nodes, a bug in kube-apiserver made it possible to bypass this validation. Bypassing this validation could allow authenticated requests destined for Nodes to to the API server's private network.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3294
Debian:13kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3294
Debian:14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2022-3294
Gogithub.com/kubernetes/kubernetes1.22.16GHSA-jh36-q97c-9928
Gogithub.com/kubernetes/kubernetes1.25.4GHSA-jh36-q97c-9928
Gogithub.com/kubernetes/kubernetes1.24.8GHSA-jh36-q97c-9928
Gogithub.com/kubernetes/kubernetes1.23.14GHSA-jh36-q97c-9928
Gok8s.io/kubernetes1.22.16, 1.23.14, 1.24.8, 1.25.4GO-2023-1629
Ubuntu:22.04:LTSkubernetesno fix listedUBUNTU-CVE-2022-3294
Ubuntu:24.04:LTSkubernetesno fix listedUBUNTU-CVE-2022-3294

Affected products (as reported)

VendorProductVersions
Kubernetes Kubernetes unspecified – through v1.25.3unspecified – through v1.24.7unspecified – through v1.23.13unspecified – through v1.22.15

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References