CVE-2018-16867: Path Traversal

Published Dec 12, 2018
·
Updated

A flaw was found in qemu Media Transfer Protocol (MTP) before version 3.1.0. A path traversal in the in usbmtpwritedata 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 Software

11 affected componentsFixes available
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u71:9.1.2+ds-11:9.2.0+ds-2
Qemu Qemu<=3.0.0
Qemu Qemu=3.1.0-rc0
Qemu Qemu=3.1.0-rc1
Qemu Qemu=3.1.0-rc2
Qemu Qemu=3.1.0-rc3
Fedoraproject Fedora=29
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10

Event History

Dec 12, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:54 PM
Description
Sep 17, 2024
Data Sourced
via Ubuntu·07:32 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-16867?

CVE-2018-16867 has been classified as a high severity vulnerability due to its potential for arbitrary file read/write access.

2

How do I fix CVE-2018-16867?

To fix CVE-2018-16867, upgrade your QEMU installation to version 3.1.0 or later.

3

Which versions of QEMU are affected by CVE-2018-16867?

CVE-2018-16867 affects all QEMU versions prior to 3.1.0.

4

What type of vulnerability is CVE-2018-16867?

CVE-2018-16867 is a path traversal vulnerability in the Media Transfer Protocol component of QEMU.

5

Can CVE-2018-16867 be exploited remotely?

Yes, CVE-2018-16867 can be exploited remotely when the guest device is mounted in read-write mode.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203