Release of Invalid Pointer or Reference Affecting qemu package, versions <1:2.5+dfsg-5ubuntu10.51+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.33% (73rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-QEMU-1626850
  • published6 Aug 2021
  • disclosed5 Aug 2021

Introduced: 5 Aug 2021

CVE-2021-3682  (opens in a new tab)
CWE-763  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 qemu to version 1:2.5+dfsg-5ubuntu10.51+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu package and not the qemu package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1