CVE-2018-16872 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| qemu qemu | <= 3.1.0 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 |
CPE
Remediation
| |
| fedoraproject fedora | 29 30 |
CPE
Remediation
| |
| canonical ubuntu linux | 14.04 16.04 18.04 18.10 |
CPE
Remediation
| |
| opensuse leap | 42.3 |
CPE
Remediation
| |
Change History
21 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 16, 2023 | Modified Analysis | [email protected] |
| Feb 12, 2023 | CVE Modified | [email protected] |
| Dec 4, 2020 | CVE Modified | [email protected] |
| May 15, 2020 | Reanalysis | [email protected] |
| May 14, 2020 | Modified Analysis | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| May 31, 2019 | CVE Modified | [email protected] |
| May 31, 2019 | CVE Modified | [email protected] |
| Apr 3, 2019 | Modified Analysis | [email protected] |
| Mar 29, 2019 | CVE Modified | [email protected] |
| Mar 28, 2019 | CVE Modified | [email protected] |
| Mar 28, 2019 | Modified Analysis | [email protected] |
| Mar 27, 2019 | CVE Modified | [email protected] |
| Mar 25, 2019 | CVE Modified | [email protected] |
| Feb 28, 2019 | Modified Analysis | [email protected] |
| Feb 28, 2019 | CVE Modified | [email protected] |
| Jan 10, 2019 | Initial Analysis | [email protected] |
| Dec 15, 2018 | CVE Modified | [email protected] |