CVE-2023-2728

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductKubernetes
PublishedJul 3, 2023
First seenJul 3, 2023

How to fix

Update
  • k8s.io/kubernetes1.27.3, 1.26.6, 1.25.11, 1.24.15 or later

Affected products

ProductAffected versionsFixed in
kubernetes kubernetesv ≤ 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/kubernetesGo1.27.0 ≤ v < 1.27.3, 1.26.0 ≤ v < 1.26.6, 1.25.0 ≤ v < 1.25.11, v < 1.24.151.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.