CVE-2022-3294Node address isn't always verified when proxying
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | kubernetes | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | kubernetes | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | kubernetes | Fix pending | ||
| Debian 14 | kubernetes | Fixed | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Debian 13 | kubernetes | Fixed | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Debian 12 | kubernetes | Fixed | 1.20.5+really1.20.2-1 | DEBIAN-CVE-2022-3294 |
| Go library | github.com/kubernetes/kubernetes | Fixed | 1.23.14 | GHSA-jh36-q97c-9928 |
| Go library | k8s.io/kubernetes | Fixed | 1.22.16 | GO-2023-1629 |
What the vendor says
As published in the CVE record by kubernetes, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Kubernetes: affected: unspecified to v1.25.3, unspecified to v1.24.7, unspecified to v1.23.13, unspecified to v1.22.15
Workaround: Configuring an egress proxy for egress to the cluster network can mitigate this vulnerability
References
- https://groups.google.com/g/kubernetes-security-announce/c/VyPOxF7CIbA
- https://github.com/kubernetes/kubernetes/issues/113757
- https://security.netapp.com/advisory/ntap-20230505-0007/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.