ADVISORIES

Alpine Security Database

ALPINE-CVE-2023-2728

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.18k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.19k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.20k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.21k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.22k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.23k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)
Alpine:v3.24k3s
All versions before 1.27.3.1-r0 (fixed in 1.27.3.1-r0)

References