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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Debian:13 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Debian:14 | kubernetes | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Go | github.com/kubernetes/kubernetes | 1.22.16 | GHSA-jh36-q97c-9928 |
| Go | github.com/kubernetes/kubernetes | 1.25.4 | GHSA-jh36-q97c-9928 |
| Go | github.com/kubernetes/kubernetes | 1.24.8 | GHSA-jh36-q97c-9928 |
| Go | github.com/kubernetes/kubernetes | 1.23.14 | GHSA-jh36-q97c-9928 |
| Go | k8s.io/kubernetes | 1.22.16, 1.23.14, 1.24.8, 1.25.4 | GO-2023-1629 |
| Ubuntu:22.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2022-3294 |
| Ubuntu:24.04:LTS | kubernetes | no fix listed | UBUNTU-CVE-2022-3294 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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