CVE Tools

CVE-2023-2728

Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin

CVE-2023-2728 is an input validation in Kubernetes (CVSS 6.5, Medium).

No known exploitation. EPSS puts it in the 82nd percentile. Fixed in 1.27.3.

Check it yourself

OpenVAS · 24 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.102088

Run the check

Published Updated Sources: CVE.org, NVD, GitHub

What to do

Find your product and version, then upgrade to the build on the right.

  • KubernetesAffected: ≥ v1.24.14, ≤ <=Upgrade to: after <=Affected: v1.25.0 - v1.25.10Upgrade to: not statedAffected: v1.26.0 - v1.26.5Upgrade to: not statedAffected: v1.27.0 - v1.27.2Upgrade to: not statedStated by: CVE record
  • Go k8s.io/kubernetesAffected: ≥ 1.27.0, < 1.27.3Upgrade to: 1.27.3Stated by: GitHub advisory

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

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.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS82nd
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

2.1% chance of exploitation activity in the next 30 days, which ranks it in the 82nd percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

6 events over 1088 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Publishedweakness classified, att&ck mapped

Affected products

And 1 more affected product. See all after sign-in

Technical detail

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

Scored 6.5 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required HighRequires admin or elevated privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability NoneNo availability impact

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2023-2728

Is CVE-2023-2728 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.1%.
Which versions are affected by CVE-2023-2728?
Kubernetes: ≥ v1.24.14, ≤ <=; v1.25.0 - v1.25.10; v1.26.0 - v1.26.5. K8s.io/kubernetes: ≥ 1.27.0, < 1.27.3.
How do I fix or mitigate CVE-2023-2728?
Upgrade to 1.27.3 or later. The advisory is on groups.google.com.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Kubernetes, not every advisory.