CVE-2018-16867
Fixed in a distro release EPSS <1%CVSS 7.0
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.
Products: qemu, fedoraproject fedora, canonical ubuntu_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | qemu | 1:3.1+dfsg-1 |
| Debian 13 | qemu | 1:3.1+dfsg-1 |
| Debian 14 | qemu | 1:3.1+dfsg-1 |
| Ubuntu 14.04 LTS | qemu | 2.0.0+dfsg-2ubuntu1.45 |
| Ubuntu 16.04 LTS | qemu | 1:2.5+dfsg-5ubuntu10.36 |
| Ubuntu 18.04 LTS | qemu | 1:2.11+dfsg-1ubuntu7.12 |