A flaw was found in qemu Media Transfer Protocol (MTP). The code opening files in usbmtpgetobject and usbmtpgetpartialobject and directories in usbmtpobjectreaddir doesn't consider that the underlying filesystem may have changed since the time lstat(2) was called in usbmtpobject_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.
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-block-extra" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-block-extra-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-guest-agent" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-guest-agent-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-kvm" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-arm" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-arm-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-common" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-common-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-mips" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-mips-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-misc" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-misc-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-ppc" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-ppc-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-s390x" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-s390x-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-sparc" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-sparc-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-x86" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-system-x86-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-user" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-user-binfmt" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-user-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-user-static" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-user-static-dbgsym" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-utils" }, { "binary_version": "1:2.11+dfsg-1ubuntu7.12", "binary_name": "qemu-utils-dbgsym" } ] }