ALAS2-2019-1274


Amazon Linux 2 Security Advisory: ALAS-2019-1274
Advisory Release Date: 2019-08-23 03:34 Pacific
Advisory Updated Date: 2019-08-27 21:30 Pacific
Severity: Important

Issue Overview:

Uncacheable memory on some microprocessors utilizing speculative execution may allow an authenticated user to potentially enable information disclosure via a side channel with local access. (CVE-2019-11091)

Modern Intel microprocessors implement hardware-level micro-optimizations to improve the performance of writing data back to CPU caches. The write operation is split into STA (STore Address) and STD (STore Data) sub-operations. These sub-operations allow the processor to hand-off address generation logic into these sub-operations for optimized writes. Both of these sub-operations write to a shared distributed processor structure called the 'processor store buffer'. As a result, an unprivileged attacker could use this flaw to read private data resident within the CPU's processor store buffer. (CVE-2018-12126)

The virConnectGetDomainCapabilities() libvirt API accepts an "emulatorbin" argument to specify the program providing emulation for a domain. Since v1.2.19, libvirt will execute that program to probe the domain's capabilities. Read-only clients could specify an arbitrary path for this argument, causing libvirtd to execute a crafted executable with its own privileges. (CVE-2019-10167)

It was discovered that libvirtd would permit readonly clients to use the virDomainManagedSaveDefineXML() API, which would permit them to modify managed save state files. If a managed save had already been created by a privileged user, a local attacker could modify this file such that libvirtd would execute an arbitrary program when the domain was resumed. (CVE-2019-10166)

A vulnerability was found in libvirt >= 4.1.0 in the virtlockd-admin.socket and virtlogd-admin.socket systemd units. A missing SocketMode configuration parameter allows any user on the host to connect using virtlockd-admin-sock or virtlogd-admin-sock and perform administrative tasks against the virtlockd and virtlogd daemons.(CVE-2019-10132)

The virConnectBaselineHypervisorCPU() and virConnectCompareHypervisorCPU() libvirt APIs accept an "emulator" argument to specify the program providing emulation for a domain. Since v1.2.19, libvirt will execute that program to probe the domain's capabilities. Read-only clients could specify an arbitrary path for this argument, causing libvirtd to execute a crafted executable with its own privileges. (CVE-2019-10168)

It was discovered that libvirtd would permit read-only clients to use the virDomainSaveImageGetXMLDesc() API, specifying an arbitrary path which would be accessed with the permissions of the libvirtd process. An attacker with access to the libvirtd socket could use this to probe the existence of arbitrary files, cause denial of service or cause libvirtd to execute arbitrary programs. (CVE-2019-10161)

Microprocessors use a load port subcomponent to perform load operations from memory or IO. During a load operation, the load port receives data from the memory or IO subsystem and then provides the data to the CPU registers and operations in the CPUs pipelines. Stale load operations results are stored in the 'load port' table until overwritten by newer operations. Certain load-port operations triggered by an attacker can be used to reveal data about previous stale requests leaking data back to the attacker via a timing side-channel. (CVE-2018-12127)

A flaw was found in the implementation of the "fill buffer", a mechanism used by modern CPUs when a cache-miss is made on L1 CPU cache. If an attacker can generate a load operation that would create a page fault, the execution will continue speculatively with incorrect data from the fill buffer while the data is fetched from higher level caches. This response time can be measured to infer data in the fill buffer. (CVE-2018-12130)


Affected Packages:

libvirt


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update libvirt to update your system.

New Packages:
aarch64:
    libvirt-4.5.0-10.amzn2.12.1.aarch64
    libvirt-docs-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-config-network-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-config-nwfilter-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-network-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-nwfilter-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-nodedev-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-interface-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-secret-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-core-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-logical-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-disk-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-scsi-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-iscsi-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-mpath-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-storage-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-driver-lxc-4.5.0-10.amzn2.12.1.aarch64
    libvirt-daemon-lxc-4.5.0-10.amzn2.12.1.aarch64
    libvirt-client-4.5.0-10.amzn2.12.1.aarch64
    libvirt-libs-4.5.0-10.amzn2.12.1.aarch64
    libvirt-admin-4.5.0-10.amzn2.12.1.aarch64
    libvirt-bash-completion-4.5.0-10.amzn2.12.1.aarch64
    libvirt-login-shell-4.5.0-10.amzn2.12.1.aarch64
    libvirt-devel-4.5.0-10.amzn2.12.1.aarch64
    libvirt-nss-4.5.0-10.amzn2.12.1.aarch64
    libvirt-debuginfo-4.5.0-10.amzn2.12.1.aarch64

i686:
    libvirt-4.5.0-10.amzn2.12.1.i686
    libvirt-docs-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-config-network-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-config-nwfilter-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-network-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-nwfilter-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-nodedev-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-interface-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-secret-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-core-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-logical-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-disk-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-scsi-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-iscsi-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-mpath-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-storage-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-driver-lxc-4.5.0-10.amzn2.12.1.i686
    libvirt-daemon-lxc-4.5.0-10.amzn2.12.1.i686
    libvirt-client-4.5.0-10.amzn2.12.1.i686
    libvirt-libs-4.5.0-10.amzn2.12.1.i686
    libvirt-admin-4.5.0-10.amzn2.12.1.i686
    libvirt-bash-completion-4.5.0-10.amzn2.12.1.i686
    libvirt-login-shell-4.5.0-10.amzn2.12.1.i686
    libvirt-devel-4.5.0-10.amzn2.12.1.i686
    libvirt-nss-4.5.0-10.amzn2.12.1.i686
    libvirt-debuginfo-4.5.0-10.amzn2.12.1.i686

src:
    libvirt-4.5.0-10.amzn2.12.1.src

x86_64:
    libvirt-4.5.0-10.amzn2.12.1.x86_64
    libvirt-docs-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-config-network-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-config-nwfilter-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-network-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-nwfilter-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-nodedev-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-interface-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-secret-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-core-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-logical-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-disk-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-scsi-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-iscsi-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-mpath-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-gluster-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-rbd-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-storage-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-qemu-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-driver-lxc-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-kvm-4.5.0-10.amzn2.12.1.x86_64
    libvirt-daemon-lxc-4.5.0-10.amzn2.12.1.x86_64
    libvirt-client-4.5.0-10.amzn2.12.1.x86_64
    libvirt-libs-4.5.0-10.amzn2.12.1.x86_64
    libvirt-admin-4.5.0-10.amzn2.12.1.x86_64
    libvirt-bash-completion-4.5.0-10.amzn2.12.1.x86_64
    libvirt-login-shell-4.5.0-10.amzn2.12.1.x86_64
    libvirt-devel-4.5.0-10.amzn2.12.1.x86_64
    libvirt-lock-sanlock-4.5.0-10.amzn2.12.1.x86_64
    libvirt-nss-4.5.0-10.amzn2.12.1.x86_64
    libvirt-debuginfo-4.5.0-10.amzn2.12.1.x86_64