CVE-2018-16872
Fixed in a distro release EPSS 1%CVSS 5.0
A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usb_mtp_get_object and usb_mtp_get_partial_object and directories in usb_mtp_object_readdir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usb_mtp_object_alloc, a classical TOCTTOU problem. An attacker with write access to the host filesystem shared with a guest can use this property to navigate the host filesystem in the context of the QEMU process and read any file the QEMU process has access to. Access to the filesystem may be local or via a network share protocol such as CIFS.
Products: qemu, debian_linux, fedoraproject fedora, canonical ubuntu_linux, opensuse leap
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | qemu | 1:3.1+dfsg-2 |
| Debian 13 | qemu | 1:3.1+dfsg-2 |
| Debian 14 | qemu | 1:3.1+dfsg-2 |
| Debian 8 | qemu | 1:2.1+dfsg-12+deb8u10 |
| Debian 9 | qemu | 1:2.8+dfsg-6+deb9u6 |
| SUSE Enterprise Storage 4 | qemu | 2.6.2-41.49.1 |
| SUSE Linux Enterprise Desktop 12 SP3 | qemu | 2.9.1-6.28.1 |
| SUSE Linux Enterprise Desktop 12 SP4 | qemu | 2.11.2-5.8.1 |
| SUSE Linux Enterprise Module for Basesystem 15 | qemu | 2.11.2-9.20.1 |
| SUSE Linux Enterprise Module for Server Applications 15 | qemu | 2.11.2-9.20.1 |
| SUSE Linux Enterprise Server 12 SP1-LTSS | qemu | 2.3.1-33.20.1 |
| SUSE Linux Enterprise Server 12 SP2-BCL | qemu | 2.6.2-41.49.1 |
| SUSE Linux Enterprise Server 12 SP2-LTSS | qemu | 2.6.2-41.49.1 |
| SUSE Linux Enterprise Server 12 SP3 | qemu | 2.9.1-6.28.1 |
| SUSE Linux Enterprise Server 12 SP4 | qemu | 2.11.2-5.8.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | qemu | 2.3.1-33.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | qemu | 2.6.2-41.49.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | qemu | 2.9.1-6.28.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | qemu | 2.11.2-5.8.1 |
| SUSE OpenStack Cloud 7 | qemu | 2.6.2-41.49.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 |
| openSUSE Tumbleweed | qemu | 6.1.0-32.1 |