{"id":"CVE-2018-16867","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2018-12-12T13:00:00.000Z","updatedAt":"2024-08-05T10:32:54.050Z","severity":{"score":7,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","source":"redhat"},"assigner":"redhat","products":["[UNKNOWN] QEMU:"],"affected":[{"vendor":"[UNKNOWN]","product":"QEMU:","versions":[{"version":"3.1.0","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","http://www.securityfocus.com/bid/106195","https://www.openwall.com/lists/oss-security/2018/12/06/1","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/","https://usn.ubuntu.com/3923-1/"],"weaknesses":["CWE-362"],"ingestedAt":"2026-10-29T19:44:25.237Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/16xxx/CVE-2018-16867.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-16867","state":"PUBLISHED","datePublished":"2018-12-12T13:00:00.000Z","dateUpdated":"2024-08-05T10:32:54.050Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2018-09-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"[UNKNOWN]","product":"QEMU:","versions":[{"version":"3.1.0","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/106195","name":"106195","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.openwall.com/lists/oss-security/2018/12/06/1","name":"[oss-security] 20181206 CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/","name":"FEDORA-2019-88a98ce795","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://usn.ubuntu.com/3923-1/","name":"USN-3923-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-362","description":"CWE-362","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2019-03-27T13:06:18.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2018-12-03T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2018-16867","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"QEMU:","version":{"version_data":[{"version_value":"3.1.0"}]}}]},"vendor_name":"[UNKNOWN]"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":[[{"vectorString":"7/CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-362"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867"},{"name":"106195","refsource":"BID","url":"http://www.securityfocus.com/bid/106195"},{"name":"[oss-security] 20181206 CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)","refsource":"MLIST","url":"https://www.openwall.com/lists/oss-security/2018/12/06/1"},{"name":"FEDORA-2019-88a98ce795","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/"},{"name":"USN-3923-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3923-1/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/106195","name":"106195","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://www.openwall.com/lists/oss-security/2018/12/06/1","name":"[oss-security] 20181206 CVE-2018-16867 QEMU: dev-mtp: path traversal in usb_mtp_write_data of the Media Transfer Protocol (MTP)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/","name":"FEDORA-2019-88a98ce795","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://usn.ubuntu.com/3923-1/","name":"USN-3923-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T10:32:54.050Z"}}]}}}