{"id":"UBUNTU-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.","modified":"2025-07-14T07:15:56.325366Z","published":"2023-07-03T21:15:00Z","withdrawn":"2025-08-28T17:07:02Z","upstream":["CVE-2023-2728"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-2728"},{"type":"REPORT","url":"https://groups.google.com/g/kubernetes-security-announce/c/9oU_lW2cU_g"},{"type":"REPORT","url":"https://github.com/kubernetes/kubernetes/issues/118640"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-2728"}],"affected":[{"package":{"name":"kubernetes","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2728.json"}},{"package":{"name":"kubernetes","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2728.json"}},{"package":{"name":"kubernetes","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/kubernetes@1.0?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2728.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}