VYPR
Moderate severityNVD Advisory· Published May 2, 2024· Updated Aug 2, 2024

CVE-2024-33394

CVE-2024-33394

Description

An issue in kubevirt kubevirt v1.2.0 and before allows a local attacker to execute arbitrary code via a crafted command to get the token component.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

KubeVirt v1.2.0 and earlier grants a ClusterRole excessive list secrets permission, allowing an attacker with a stolen token to enumerate all cluster secrets and potentially take over the cluster.

In KubeVirt v1.2.0 and earlier, a ClusterRole is granted the ability to list secrets across the cluster, violating the principle of least privilege. This design flaw allows an attacker who obtains a token bound to that ClusterRole to list all secrets in the Kubernetes cluster [2].

An attacker must first steal a token from a service account that has this ClusterRole bound. The gist reference provides an example of stealing a token from a DaemonSet (e.g., hwameistor-loc...). Once the token is obtained, the attacker can use it to list secrets without further authentication [2].

With access to all secrets, the attacker can extract credentials, service account tokens, and other sensitive data. This can lead to privilege escalation and potentially full compromise of the Kubernetes cluster [2].

As of the publication date, the vulnerability affects KubeVirt versions up to and including v1.2.0. Users should upgrade to a patched version or restrict the ClusterRole permissions to mitigate the risk. No official patch is mentioned in the references, but the issue is acknowledged [2].

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
kubevirt.io/kubevirtGo
<= 1.2.0

Affected products

8

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.