CVE-2018-16872

MEDIUM
5.3
CVSS Score
Published: December 13, 2018 at 09:00 PM UTC
Updated: June 17, 2026 at 01:44 AM UTC
5 products affected across 5 vendorsDebian LinuxFedoraUbuntu Linux

Using QEMU: by [UNKNOWN]?

Get instant alerts when new vulnerabilities affect QEMU: - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (9)

Vendor Advisoryx_refsource_SUSEMailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00042.html
VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/106212
x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16872
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/02/msg00041.html
Mailing Listx_refsource_BUGTRAQThird Party Advisory
https://seclists.org/bugtraq/2019/May/76
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/3923-1/

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-367

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card