UBUNTU-CVE-2018-16872

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-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@1:2.11+dfsg-1ubuntu7.12?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": [
        {
            "qemu-system-misc": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-guest-agent-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-block-extra-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-utils-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-user": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-arm-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-kvm": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-ppc-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-user-static": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-arm": "1:2.11+dfsg-1ubuntu7.12",
            "qemu": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-sparc": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-s390x-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-common-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-x86-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-guest-agent": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-utils": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-block-extra": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-misc-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-sparc-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-mips-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-x86": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-ppc": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-s390x": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-common": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-user-static-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-system-mips": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-user-dbgsym": "1:2.11+dfsg-1ubuntu7.12",
            "qemu-user-binfmt": "1:2.11+dfsg-1ubuntu7.12"
        }
    ]
}