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

CVE details

CVE-2021-20221

An out-of-bounds heap buffer access issue was found in the ARM Generic Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on aarch64 platform. The issue occurs because while writing an interrupt ID to the controller memory area, it is not masked to be 4 bits wide. It may lead to the said issue while updating controller state fields and their subsequent processing. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

Score
6.0 medium
Published
2021-05-13
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>An out-of-bounds heap buffer access issue was found in the ARM Generic
	Interrupt Controller emulator of QEMU up to and including qemu 4.2.0on
	aarch64 platform. The issue occurs because while writing an interrupt
	ID to the controller memory area, it is not masked to be 4 bits wide.
	It may lead to the said issue while updating controller state fields
	and their subsequent processing. A privileged guest user may use this
	flaw to crash the QEMU process on the host resulting in DoS scenario.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2021-20221</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2021-20221</url>
    </references>
    <dates>
      <discovery>2021-05-13</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>