CVE-2023-2728

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
03/07/2023
Last modified:
13/02/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* 1.24.14 (including)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* 1.25.0 (including) 1.25.10 (including)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* 1.26.0 (including) 1.26.5 (including)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* 1.27.0 (including) 1.27.2 (including)