Description
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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | QEMU: | 3.1.0 |
References
- http://www.securityfocus.com/bid/106195Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/
- https://usn.ubuntu.com/3923-1/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/12/06/1Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/106195Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867Issue Tracking, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/
- https://usn.ubuntu.com/3923-1/Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/12/06/1Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Dec 12, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified