Race Condition Affecting qemu package, versions <1:2.12+dfsg-3ubuntu8.6


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.42% (34th 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-UBUNTU1810-QEMU-428362
  • published7 Dec 2018
  • disclosed12 Dec 2018

Introduced: 7 Dec 2018

CVE-2018-16867  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.10 qemu to version 1:2.12+dfsg-3ubuntu8.6 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:18.10 relevant fixed versions and status.

A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A path traversal in the in usb_mtp_write_data function in hw/usb/dev-mtp.c due to an improper filename sanitization. When the guest device is mounted in read-write mode, this allows to read/write arbitrary files which may lead do DoS scenario OR possibly lead to code execution on the host.

CVSS Base Scores

version 3.1