CVE-2022-3162
Kubernetes vulnerable to path traversal in k8s.io/kubernetes
6.5
MEDIUM
CVSS 3.1
EPSS 1.0%
Description
Users authorized to list or watch one type of namespaced custom resource cluster-wide can read custom resources of a different type in the same API group without authorization. Clusters are impacted by this vulnerability if all of the following are true: 1. There are 2+ CustomResourceDefinitions sharing the same API group 2. Users have cluster-wide list or watch authorization on one of those custom resources. 3. The same users are not authorized to read another custom resource in the same API group.
How to fix CVE-2022-3162
To remediate CVE-2022-3162, upgrade the affected package to a fixed version below.
- —upgrade to 1.20.5+really1.20.2-1 or later
- —upgrade to 1.25.4 or later
- —upgrade to 1.22.16 or later
Is CVE-2022-3162 being exploited?
Low — EPSS is 1.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.20.5+really1.20.2-1
- >= 1.25.0, < 1.25.4
- >= 1.22.0, < 1.22.16, >= 1.23.0, < 1.23.14, >= 1.24.0, < 1.24.8, >= 1.25.0, < 1.25.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |