CVE-2022-1798
published 2022-09-15CVE-2022-1798: A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to configure the kubevirt to read arbitrary…
PriorityP432medium6.5CVSS 3.1
AVLACLPRLUINSCCHINAN
EPSS
0.36%
27.8th percentile
A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to configure the kubevirt to read arbitrary files on the host filesystem which are publicly readable or which are readable for UID 107 or GID 107. /proc/self/<> is not accessible.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| google_llc | kubevirt | >= unspecified < 0.55.1 | 0.55.1 |
| google_llc | kubevirt | >= unspecified < 0.56.0 | 0.56.0 |
| kubevirt.io | kubevirt | >= 0.20.0 < 0.55.1 | 0.55.1 |
| kubevirt | kubevirt | >= 0.20.0 < 0.55.1 | 0.55.1 |
| msrc | cbl2_kubevirt_0.55.1-1_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
vendor_redhat8.7HIGH
vendor_msrc6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Duplicate Advisory: KubeVirt arbitrary host file read from the VM
ghsa·2022-08-18
CVE-2022-1798 [MEDIUM] CWE-22 Duplicate Advisory: KubeVirt arbitrary host file read from the VM
Duplicate Advisory: KubeVirt arbitrary host file read from the VM
## Duplicate Advisory
This advisory is a duplicate of [GHSA-qv98-3369-g364](https://github.com/advisories/GHSA-qv98-3369-g364). This link is maintained to preserve external references.
## Original Description
**Summary**
As part of a Kubevirt audit performed by NCC group, a finding dealing with systemic lack of path sanitization which leads to a path traversal was identified. Google tested the exploitability of the paths in the audit report and identified that when combined with another vulnerability one of the paths leads to an arbitrary file read on the host from the VM.
The read operations are limited to files which are publicly readable or which are readable for UID 107 or GID 107. /proc/self/<> is not accessible.
*
Microsoft
Path Traversal vulnerability in Kubevirt
vendor_msrc·2022-09-13·CVSS 6.5
CVE-2022-1798 [HIGH] CWE-22 Path Traversal vulnerability in Kubevirt
Path Traversal vulnerability in Kubevirt
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Google: Google
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.co
Red Hat
kubeVirt: Arbitrary file read on the host from KubeVirt VMs
vendor_redhat·2022-08-08·CVSS 8.7
CVE-2022-1798 [HIGH] CWE-22 kubeVirt: Arbitrary file read on the host from KubeVirt VMs
kubeVirt: Arbitrary file read on the host from KubeVirt VMs
A path traversal vulnerability in KubeVirt versions up to 0.56 (and 0.55.1) on all platforms allows a user able to configure the kubevirt to read arbitrary files on the host filesystem which are publicly readable or which are readable for UID 107 or GID 107. /proc/self/<> is not accessible.
An arbitrary file read vulnerability was found in the kubeVirt API. This flaw makes it possible to use the kubeVirt API to provide access to host files (like /etc/passwd, for example) in a KubeVirt VM as a disk device that can be written to and read from.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-09-15
Published