CVE-2020-1701: Kubevirt.io/kubevirt Permissions Bypass Vulnerability
MODERATECVE-2020-1701 is a MODERATE (CVSS 6.5) permissions bypass vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Kubevirt.io/kubevirt libraries in the Go ecosystem. The issue involves permissions bypass in kubevirt. Remediation is available by upgrading affected packages to version 0.26.0.
CVE-2020-1701 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-1701
To remediate this vulnerability, upgrade all affected Kubevirt.io/kubevirt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade kubevirt.io/kubevirt to 0.26.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for kubevirt.io/kubevirt
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-1701, inspect your project dependencies for Kubevirt.io/kubevirt:
inspect dependencies for kubevirt.io/kubevirt
Analyze the terminal output to locate any version of Kubevirt.io/kubevirt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Kubevirt.io/kubevirt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-1701 Affected Kubevirt.io/kubevirt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kubevirt.io/kubevirt
|
Go |
< 0.26.0
|
0.26.0
|
References
Frequently Asked Questions
What is CVE-2020-1701?
Which Kubevirt.io/kubevirt versions are affected?
What version fixes CVE-2020-1701?
Is kubevirt.io/kubevirt affected?
What is the CVSS score of CVE-2020-1701?
What CWE is associated with CVE-2020-1701?
How can I check Go dependencies for CVE-2020-1701?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-849r-8wvp-4wwg",
"modified" : "2024-04-24T21:33:44Z",
"published" : "2021-06-01T18:40:38Z",
"aliases" : [ "CVE-2020-1701" ],
"summary" : "Permissions bypass in KubeVirt",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "kubevirt.io/kubevirt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.26.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1701"
}, {
"type" : "WEB",
"url" : "https://github.com/kubevirt/kubevirt/issues/2967"
}, {
"type" : "WEB",
"url" : "https://github.com/kubevirt/containerized-data-importer/pull/1098"
}, {
"type" : "WEB",
"url" : "https://github.com/kubevirt/kubevirt/pull/3001"
}, {
"type" : "WEB",
"url" : "https://github.com/kubevirt/kubevirt/commit/9efa8d7388d4fe1c698c6980aa7122c06bd141be"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1792092"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubevirt/kubevirt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T21:33:44Z",
"nvd_published_at" : "2021-05-27T20:15:00Z"
}
}