CVE-2018-16867

Summary

CVECVE-2018-16867
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-12-12 13:29:00 UTC
Updated2023-11-07 02:53:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-362

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 18.10 All All All
Operating System Fedoraproject Fedora 29 All All All
Operating System Fedoraproject Fedora 29 All All All
Application Qemu Qemu 3.1.0 rc0 All All
Application Qemu Qemu 3.1.0 rc1 All All
Application Qemu Qemu 3.1.0 rc2 All All
Application Qemu Qemu 3.1.0 rc3 All All
Application Qemu Qemu 3.1.0 rc0 All All
Application Qemu Qemu 3.1.0 rc1 All All
Application Qemu Qemu 3.1.0 rc2 All All
Application Qemu Qemu 3.1.0 rc3 All All
Application Qemu Qemu All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 29 Update: qemu-3.0.0-4.fc29 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Release Notes, Third Party Advisory
QEMU CVE-2018-16867 Directory Traversal Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
[SECURITY] Fedora 29 Update: qemu-3.0.0-4.fc29 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
1654885 – (CVE-2018-16867) CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP) CONFIRM bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
oss-security - CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP) MLIST www.openwall.com Mailing List, Patch, Third Party Advisory
USN-3923-1: QEMU vulnerabilities | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report