CVE-2018-16872
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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | Medium5.0 | CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.0.
Weakness
Affected products
References (9)
- [debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 106212 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2019-88a98ce795 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- USN-3923-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- FEDORA-2019-0664c7724d (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- openSUSE-SU-2019:1074 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- DSA-4454 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 20190531 [SECURITY] [DSA 4454-1] qemu security update (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16872 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-16872)Record last updated .