CVE-2018-16872
published medium CVSS 3.0 · 5.0QEMU: usb-mtp: path traversal by host filesystem manipulation in Media Transfer Protocol (MTP)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| [UNKNOWN] | — | QEMU:n/a | Affected | Not stated | redhat |
| Debian | jessie | qemu | Advisory build | 1:2.1+dfsg-12+deb8u10 | DLA-1694-1 |
| Oracle Linux | 7 | ivshmem-toolsaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| SUSE / openSUSE | SLE-12-SP1 | qemuppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| Debian | stretch | qemu | Advisory build | 1:2.8+dfsg-6+deb9u6 | DSA-4454-1 |
| Oracle Linux | 7 | ivshmem-toolsaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemuaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemuaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | qemux86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemux86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-glusteraarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-glusteraarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-block-glusterx86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-block-glusterx86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-iscsiaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-iscsiaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-block-iscsix86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-block-iscsix86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-rbdaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-block-rbdaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-block-rbdx86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-block-rbdx86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-commonaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-commonaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-commonx86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-commonx86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-imgaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-imgaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-imgx86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-imgx86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-kvmaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-kvmaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-kvmx86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-kvmx86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-kvm-coreaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-kvm-coreaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-kvm-corex86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-kvm-corex86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-system-aarch64aarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-system-aarch64aarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-system-aarch64-coreaarch64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-system-aarch64-coreaarch64 | Advisory build | 15:3.1.0-1.el7 | ELSA-2019-4585 |
| Oracle Linux | 7 | qemu-system-x86x86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-system-x86x86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| Oracle Linux | 7 | qemu-system-x86-corex86_64 | Advisory build | 12:2.9.0-20.el7 | ELSA-2019-4556 |
| Oracle Linux | 7 | qemu-system-x86-corex86_64 | Advisory build | 15:3.0.0-4.el7 | ELSA-2019-4518 |
| SUSE / openSUSE | SLE-12-SP1 | qemus390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemux86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemux86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-curlppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-curls390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-curlx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-curlx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-rbdx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-block-rbdx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-guest-agentppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-guest-agents390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-guest-agentx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-guest-agentx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-ipxenoarch | Advisory build | 1.0.0-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-ipxenoarch | Advisory build | 1.0.0-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-kvms390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-kvmx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-kvmx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-langppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-langs390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-langx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-langx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-ppcppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-s390s390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-seabiosnoarch | Advisory build | 1.8.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-seabiosnoarch | Advisory build | 1.8.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-sgabiosnoarch | Advisory build | 8-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-sgabiosnoarch | Advisory build | 8-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-toolsppc64le | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-toolss390x | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-toolsx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-toolsx86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-vgabiosnoarch | Advisory build | 1.8.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-vgabiosnoarch | Advisory build | 1.8.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-x86x86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-1 |
| SUSE / openSUSE | SLE-12-SP1 | qemu-x86x86_64 | Advisory build | 2.3.1-33.20.1 | SUSE-SU-2019:0471-2 |
| SUSE / openSUSE | SLE-12-SP2 | qemuppc64le | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemus390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemux86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-curlppc64le | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-curls390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-curlx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-rbdx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-sshppc64le | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-sshs390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-block-sshx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-guest-agentppc64le | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-guest-agents390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-guest-agentx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-ipxenoarch | Advisory build | 1.0.0-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-kvms390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-kvmx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-langppc64le | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-langs390x | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
| SUSE / openSUSE | SLE-12-SP2 | qemu-langx86_64 | Advisory build | 2.6.2-41.49.1 | SUSE-SU-2019:0489-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usb_mtp_get_object and usb_mtp_get_partial_object and directories in usb_mtp_object_readdir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usb_mtp_object_alloc, a classical TOCTTOU problem. An attacker with write access to the host filesystem shared with a guest can use this property to navigate the host filesystem in the context of the QEMU process and read any file the QEMU process has access to. Access to the filesystem may be local or via a network share protocol such as CIFS.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| [UNKNOWN] | QEMU: | n/a (affected) | redhat · cna |
Weaknesses
1- CWE-367
References
9- openSUSE-SU-2019:1074 http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00042.html
- 106212 http://www.securityfocus.com/bid/106212
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16872
- [debian-lts-announce] 20190228 [SECURITY] [DLA 1694-1] qemu security update https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html
- FEDORA-2019-88a98ce795 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CGCFIFSIWUREEQQOZDZFBYKWZHXCWBZN/
- FEDORA-2019-0664c7724d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJMTVGDLA654HNCDGLCUEIP36SNJEKK7/
- 20190531 [SECURITY] [DSA 4454-1] qemu security update https://seclists.org/bugtraq/2019/May/76
- USN-3923-1 https://usn.ubuntu.com/3923-1/
- DSA-4454 https://www.debian.org/security/2019/dsa-4454
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a818decd42714942595f0fa12a748ab93d24773629f1c0e760fbf2cc9e8f436
- Ingested
- 23 Sep 2026, 07:43:57 UTC
- Source record
- Official CVE record