CVE and update status of the FreeBSD ports tree4,826 unaddressed CVEs in 618 portsAll times are CET

CVE details

CVE-2021-3682

A flaw was found in the USB redirector device emulation of QEMU in versions prior to 6.1.0-rc2. It occurs when dropping packets during a bulk transfer from a SPICE client due to the packet queue being full. A malicious SPICE client could use this flaw to make QEMU call free() with faked heap chunk metadata, resulting in a crash of QEMU or potential code execution with the privileges of the QEMU process on the host.

Score
8.5 high
Published
2021-08-05
Links
NVD · cve.org

Affected ports (2)

PortPackageVersionStatusMaintainer
emulators/qemu-cheriqemu-cheri0.d20260108unaddressedbrooks@FreeBSD.org
emulators/qemu-user-staticqemu-user-static3.1.0_16unaddressedemulation@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>qemu-cheri</name>
	<range><lt>6.1.0</lt></range>
      </package>
      <package>
	<name>qemu-user-static</name>
	<range><lt>6.1.0</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>A flaw was found in the USB redirector device emulation of QEMU in
	versions prior to 6.1.0-rc2. It occurs when dropping packets during a
	bulk transfer from a SPICE client due to the packet queue being full.
	A malicious SPICE client could use this flaw to make QEMU call free()
	with faked heap chunk metadata, resulting in a crash of QEMU or
	potential code execution with the privileges of the QEMU process on
	the host.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2021-3682</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2021-3682</url>
    </references>
    <dates>
      <discovery>2021-08-05</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>