K8s API Server Bypass Kubelet Node Proxy Validation for Private Network Access
CVE-2022-3294 Published on March 1, 2023
Node 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.
Vulnerability Analysis
CVE-2022-3294 is exploitable with network access, and requires user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Products Associated with CVE-2022-3294
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-3294 are published in Kubernetes:
Affected Versions
Kubernetes:- Version unspecified, <= v1.25.3 is affected.
- Version unspecified, <= v1.24.7 is affected.
- Version unspecified, <= v1.23.13 is affected.
- Version unspecified, <= v1.22.15 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.