Advisory

GHSA-cgcv-5272-97pr

Also known as: CVE-2023-2728, GO-2023-1892

Summary

Kubernetes mountable secrets policy bypass

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-07-03 21:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.27.0, fixed 1.27.3 (semver)

Fixed versions

1.27.3

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.26.0, fixed 1.26.6 (semver)

Fixed versions

1.26.6

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 1.25.0, fixed 1.25.11 (semver)

Fixed versions

1.25.11

Fix

k8s.io/kubernetes

Go · All systems

Affected

  • introduced 0, fixed 1.24.15 (semver)

Fixed versions

1.24.15

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences