PT-2022-14121

CVE-2022-1798

·

Published

2022-08-18

·

Updated

2024-08-21

Description by

CVSS 3.1
8.7
High
MetricsAV:L/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:H
Name of the Vulnerable Software and Affected Versions KubeVirt versions up to 0.56 KubeVirt version 0.55.1
Description A path traversal vulnerability in KubeVirt 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. 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. SELinux may mitigate this vulnerability.
Recommendations For KubeVirt versions up to 0.56, sanitize the imagePath in pkg/container-disk/container-disk.go following ISE best practices and add checks in pkg/virt-api/webhooks/validating-webhook/admitters/vmi-create-admitter.go to mitigate the vulnerability. For KubeVirt version 0.55.1, sanitize the imagePath in pkg/container-disk/container-disk.go following ISE best practices and add checks in pkg/virt-api/webhooks/validating-webhook/admitters/vmi-create-admitter.go to mitigate the vulnerability. As a temporary workaround, consider restricting access to sensitive files on the host filesystem to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-CVX8-PPMC-78HM
GHSA-QV98-3369-G364
AZL-10974
GO-2022-1000
OPENSUSE-SU-2022_3321-1
OPENSUSE-SU-2022_3333-1
SUSE-SU-2022:3321-1
SUSE-SU-2022_3321-1
SUSE-SU-2022:3333-1
SUSE-SU-2022_3333-1
Found an issue in the description? Have something to add? Feel free to write us 👾