CVE-2018-16872

qemu: A flaw was found in qemu Media Transfer Protocol (MTP)

CVE-2018-16872 is fixed in 17 products on 1 platform, first by qemu 1:2.11+dfsg-1ubuntu7.12, released February 18, 2019. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0108
65th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
qemu · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-block-extra · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-block-extra 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-guest-agent · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-guest-agent 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-kvm · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-kvm 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-arm · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-arm 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-common · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-common 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-mips · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-mips 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-misc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-misc 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-ppc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-ppc 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-s390x · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-s390x 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-sparc · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-sparc 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-system-x86 · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-system-x86 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-user · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-user 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-user-binfmt · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-user-binfmt 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-user-static · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-user-static 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019
qemu-utils · Ubuntu 18.04.6 LTS (bionic) 1:2.11+dfsg-1ubuntu7.12 qemu-utils 1:2.11+dfsg-1ubuntu7.12 Feb 18, 2019

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.