Race Condition Affecting qemu-img package, versions <12:2.9.0-20.el7


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.06% (29th 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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE7-QEMUIMG-2530912
  • published10 Apr 2022
  • disclosed12 Dec 2018

Introduced: 12 Dec 2018

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

How to fix?

Upgrade Oracle:7 qemu-img to version 12:2.9.0-20.el7 or higher.
This issue was patched in ELSA-2019-4556.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu-img package and not the qemu-img package as distributed by Oracle. See How to fix? for Oracle:7 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 Scores

version 3.1