UBUNTU-CVE-2018-16872

Source
https://ubuntu.com/security/CVE-2018-16872
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-16872.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-16872
Related
Published
2018-12-13T00:00:00Z
Modified
2018-12-13T00:00:00Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / qemu

Package

Name
qemu
Purl
pkg:deb/ubuntu/qemu?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.11+dfsg-1ubuntu7.12

Affected versions

1:2.*

1:2.10+dfsg-0ubuntu3
1:2.10+dfsg-0ubuntu4
1:2.10+dfsg-0ubuntu5
1:2.11+dfsg-1ubuntu1
1:2.11+dfsg-1ubuntu2
1:2.11+dfsg-1ubuntu4
1:2.11+dfsg-1ubuntu5
1:2.11+dfsg-1ubuntu6
1:2.11+dfsg-1ubuntu7
1:2.11+dfsg-1ubuntu7.1
1:2.11+dfsg-1ubuntu7.2
1:2.11+dfsg-1ubuntu7.3
1:2.11+dfsg-1ubuntu7.4
1:2.11+dfsg-1ubuntu7.5
1:2.11+dfsg-1ubuntu7.6
1:2.11+dfsg-1ubuntu7.7
1:2.11+dfsg-1ubuntu7.8
1:2.11+dfsg-1ubuntu7.9
1:2.11+dfsg-1ubuntu7.10

Ecosystem specific

{
    "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"
        }
    ]
}