CVE-2023-2728

MEDIUMCVSS 6.5/10EPSS 2.16%

Last modified

CVE-2023-2728 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 2.16% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

EPSS Probability
2.16%

79.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
KubernetesKubernetes<= 1.24.14
KubernetesKubernetes>= 1.25.0, <= 1.25.10
KubernetesKubernetes>= 1.26.0, <= 1.26.5
KubernetesKubernetes>= 1.27.0, <= 1.27.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-2728?
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.
How severe is CVE-2023-2728?
CVE-2023-2728 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 2.16% probability of exploitation in the next 30 days.
How do I fix CVE-2023-2728?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-2728?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST