Use After Free Affecting qemu package, versions <1:5.2+dfsg-6ubuntu2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.32% (25th 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-UBUNTU2404-QEMU-6711929
  • published29 Apr 2024
  • disclosed13 May 2021

Introduced: 13 May 2021

CVE-2021-20181  (opens in a new tab)
CWE-416  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 qemu to version 1:5.2+dfsg-6ubuntu2 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:24.04 relevant fixed versions and status.

A race condition flaw was found in the 9pfs server implementation of QEMU up to and including 5.2.0. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.

CVSS Base Scores

version 3.1