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

CVE details

CVE-2021-3527

A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.

Score
5.5 medium
Published
2021-05-26
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>FIXME</lt></range>
      </package>
      <package>
	<name>qemu-user-static</name>
	<range><lt>FIXME</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>A flaw was found in the USB redirector device (usb-redir) of QEMU.
	Small USB packets are combined into a single, large transfer request,
	to reduce the overhead and improve performance. The combined size of
	the bulk transfer is used to dynamically allocate a variable length
	array (VLA) on the stack without proper validation. Since the total
	size is not bounded, a malicious guest could use this flaw to
	influence the array length and cause the QEMU process to perform an
	excessive allocation on the stack, resulting in a denial of service.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2021-3527</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2021-3527</url>
    </references>
    <dates>
      <discovery>2021-05-26</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>