CVE-2021-3582
NixOS vulnerability analysis and mitigation

Overview

A flaw was found in the QEMU implementation of VMWare's paravirtual RDMA device (CVE-2021-3582). The vulnerability was discovered in the handling of 'PVRDMACMDCREATE_MR' command due to improper memory remapping (mremap). The issue affects QEMU versions prior to 2.17.2 (NVD, Debian Tracker).

Technical details

The vulnerability exists in pvrdmamaptopdir() function in hw/rdma/vmw/pvrdmacmd.c. The flaw occurs while handling a 'PVRDMACMDCREATEMR' command through createmr() handler. The issue stems from mremap() being called repeatedly in a while loop without properly checking whether the location of the new mapping exceeds a previously remapped memory region (Red Hat Bugzilla). The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H (NVD).

Impact

The highest threat from this vulnerability is to system availability. When successfully exploited, this flaw allows a malicious guest to crash the QEMU process on the host, resulting in a denial of service (DoS) (NVD, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in QEMU version 2.17.2. Users are advised to upgrade their QEMU installations to this version or later. For systems where immediate upgrade is not possible, no alternative workarounds are currently available (Gentoo Security).

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-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 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