CVE-2020-1701 Permissions bypass in KubeVirt

Medium 6.5 Published Updated

An attacker with VM creation privileges can read arbitrary secrets in their namespace due to improper access permissions in KubeVirt virt-handler.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-1701?

CVE-2020-1701 is a medium-severity missing authorization vulnerability in virt-handler, published on 27 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in the KubeVirt main virt-handler versions before 0.26.0 regarding the access permissions of virt-handler. An attacker with access to create VMs could attach any secret within their namespace, allowing them to read the contents of that secret.

Weakness: CWE-732

Which versions are affected by CVE-2020-1701?

3 open source packages ship an affected version, including kubevirt.io/kubevirt. It affects 1 product.

PackageAffectedFixed in
kubevirt.io/kubevirt GoAll versions0.26.0
kubevirt.io/kubevirt GoAll versions0.26.0
kubevirt.io/kubevirt GoAll versions0.26.0

Products include Kubevirt Kubevirt.

How do I fix CVE-2020-1701?

Upgrade kubevirt.io/kubevirt to 0.26.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2020-1701 being exploited?

There is no known exploitation of CVE-2020-1701 in the wild and no public exploit code.

Sources

Also known as GHSA-849r-8wvp-4wwg, GO-2024-2765.

Is CVE-2020-1701 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free