Improper input validation in Kubernetes

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.022 (80.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N.

Affected products

  • Kubernetes — versions v1.24.14, v1.25.0 - v1.25.10, v1.26.0 - v1.26.5

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-2728?
CVE-2023-2728 is a medium-severity vulnerability in Kubernetes, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2023-07-03.
How severe is CVE-2023-2728?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2023-2728 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.