First published: Wed 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 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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/qemu | 1:5.2+dfsg-11+deb11u3 1:5.2+dfsg-11+deb11u2 1:7.2+dfsg-7+deb12u7 1:9.1.2+ds-1 1:9.2.0+ds-2 | |
QEMU KVM | <=3.0.0 | |
QEMU KVM | =3.1.0-rc0 | |
QEMU KVM | =3.1.0-rc1 | |
QEMU KVM | =3.1.0-rc2 | |
QEMU KVM | =3.1.0-rc3 | |
Fedora | =29 | |
Ubuntu | =14.04 | |
Ubuntu | =16.04 | |
Ubuntu | =18.04 | |
Ubuntu | =18.10 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-16867 has been classified as a high severity vulnerability due to its potential for arbitrary file read/write access.
To fix CVE-2018-16867, upgrade your QEMU installation to version 3.1.0 or later.
CVE-2018-16867 affects all QEMU versions prior to 3.1.0.
CVE-2018-16867 is a path traversal vulnerability in the Media Transfer Protocol component of QEMU.
Yes, CVE-2018-16867 can be exploited remotely when the guest device is mounted in read-write mode.