Vulnerability in Qemu
CVE-2018-16867
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 37.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Qemu — versions 3.1.0
- [Unknown] Qemu: — versions 3.1.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Fedoraproject Fedora — versions 29
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/106195 (Third Party Advisory, VDB Entry, vdb-entry)
- [oss-security] 20181206 CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP) (mailing-list, Patch, Mailing List, Third Party Advisory)
- FEDORA-2019-88a98ce795 (vendor-advisory)
- USN-3923-1 (vendor-advisory, Third Party Advisory)