{"schemaVersion":3,"id":"CVE-2018-16867","aliases":["DEBIAN-CVE-2018-16867"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-12-12T13:00:00.000Z","modified":"2024-08-05T10:32:54.050Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.4,"severity":"medium","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","exploitability":2.8,"impact":10,"computed":true}]},"epss":{"probability":0.00424,"percentile":0.35239,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00424},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00424,"percentile":0.35239}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00424,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00424,"percentile":0.35239}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"14.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"18.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"14.04 | 16.04 | 18.04 | 18.10","eol":{"isEol":true,"eolDate":"2019-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"14.04","label":"14.04 'Trusty Tahr' (LTS)","eolFrom":"2019-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"14.04.6"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"qemu","name":"qemu","label":"qemu","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/qemu","purlType":"deb","versions":[{"text":"< 1:3.1+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.1+dfsg-1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"29","noFixRecorded":false,"fixedIn":null}],"versionsText":"29","eol":{"isEol":true,"eolDate":"2019-11-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"29","label":"29","eolFrom":"2019-11-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"qemu","product":"qemu","name":"qemu","label":"qemu","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.0.0","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc0","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.0.0 | 3.1.0:rc0 | 3.1.0:rc1 | 3.1.0:rc2 | 3.1.0:rc3","eol":null,"hubHref":"/vendor/qemu/qemu"},{"vendor":"[unknown]","product":"qemu:","name":"QEMU:","label":"qemu:","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.1.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16867","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/106195","label":"www.securityfocus.com/bid/106195","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2018/12/06/1","label":"www.openwall.com/lists/oss-security/2018/12/06/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://usn.ubuntu.com/3923-1/","label":"usn.ubuntu.com/3923-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-16867","label":"security-tracker.debian.org/tracker/CVE-2018-16867","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-12-12T13:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T10:32:54.050Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T01:52:39.867Z","stale":false,"partial":false}}