CVE-2022-35867
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was discovered in xhyve (CVE-2022-35867) that allows local attackers to escalate privileges on affected installations. The vulnerability was discovered by Alisa Esage of Zero Day Engineering and was disclosed on July 6, 2022. The issue affects the e1000 virtual device in xhyve version 0.2.0 (ZDI Advisory, NVD).

Technical details

The vulnerability exists within the e1000 virtual device and results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. This is classified as a Stack-based Buffer Overflow (CWE-121). The vulnerability has been assigned a CVSS v3.1 base score of 6.7 (MEDIUM) by NIST with vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, while Zero Day Initiative assigned it a score of 7.5 (HIGH) with vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H (ZDI Advisory).

Impact

An attacker who successfully exploits this vulnerability can leverage it to escalate privileges and execute arbitrary code in the context of the hypervisor. The attacker must first obtain the ability to execute high-privileged code on the target guest system to exploit this vulnerability (ZDI Advisory).

Mitigation and workarounds

Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application. The vulnerability was disclosed publicly without a patch in accordance with the ZDI 120-day deadline. The issue was previously fixed in FreeBSD's bhyve under CVE-2019-5609, but the code was never updated in xhyve (ZDI 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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

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