CVE-2022-1798
NixOS vulnerability analysis and mitigation

Overview

A path traversal vulnerability was discovered in KubeVirt versions up to 0.56 (and 0.55.1) affecting all platforms. The vulnerability, identified as CVE-2022-1798, allows users with permissions to configure KubeVirt to read arbitrary files on the host filesystem that are publicly readable or accessible to UID 107 or GID 107, though /proc/self/<> remains inaccessible. The vulnerability was disclosed on September 14, 2022 (GitHub Advisory).

Technical details

The vulnerability exists due to improper validation of path fields in the VMI (VirtualMachineInstance) spec. Three main attack vectors were identified: 1) Relative paths in spec.domain.firmware.kernelBoot.container fields (kernelPath and initrdPath) and spec.volumes[*].containerDisk.path, 2) Malicious links in containerDisk images, and 3) PVC hotplugging with absolute links. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) by NIST and 8.7 (HIGH) by Google Inc., with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N (NVD).

Impact

When exploited, this vulnerability allows attackers to read any publicly readable files on the host filesystem or files readable by UID/GID 107. This could lead to exposure of sensitive information stored in host system files, potentially compromising system security (GitHub Advisory).

Mitigation and workarounds

Several mitigation strategies are available: 1) Upgrade to KubeVirt version 0.55.1 which contains patches fixing the vulnerability, 2) Disable the HotplugVolumes feature-gate, 3) Use policy controllers to prevent containerDisk addition and spec.domain.firmware.kernelBoot usage on VirtualMachineInstances, 4) Enable SELinux, though this doesn't provide 100% guarantee as vm-to-vm reads may still work (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management