CVE-2023-2728
Description
Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.
How to fix
- k8s.io/kubernetes1.27.3, 1.26.6, 1.25.11, 1.24.15 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kubernetes kubernetes | v ≤ 1.24.14, 1.25.0 ≤ v ≤ 1.25.10, 1.26.0 ≤ v ≤ 1.26.5, 1.27.0 ≤ v ≤ 1.27.2 | — |
| k8s.io/kubernetesGo | 1.27.0 ≤ v < 1.27.3, 1.26.0 ≤ v < 1.26.6, 1.25.0 ≤ v < 1.25.11, v < 1.24.15 | 1.27.3, 1.26.6, 1.25.11, 1.24.15 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.