CVE-2019-3813 Memory corruption in Spice

High 7.5 Published Updated

An out-of-bounds read in Spice allows unauthenticated attackers to cause denial of service or execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-3813?

CVE-2019-3813 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 4 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Spice, versions 0.5.2 through 0.14.1, are vulnerable to an out-of-bounds read due to an off-by-one error in memslot_get_virt. This may lead to a denial of service, or, in the worst case, code-execution by unauthenticated attackers.

Weakness: CWE-193

Which versions are affected by CVE-2019-3813?

It affects 9 products.

Linux distribution packages (40)
spice-server Red Hat:enterprise_linux:6::clientAll versions0:0.12.4-16.el6_10.3
spice-server-debuginfo Red Hat:enterprise_linux:6::clientAll versions0:0.12.4-16.el6_10.3
spice-server-devel Red Hat:enterprise_linux:6::clientAll versions0:0.12.4-16.el6_10.3
spice-server Red Hat:enterprise_linux:6::computenodeAll versions0:0.12.4-16.el6_10.3
spice-server-debuginfo Red Hat:enterprise_linux:6::computenodeAll versions0:0.12.4-16.el6_10.3
spice-server-devel Red Hat:enterprise_linux:6::computenodeAll versions0:0.12.4-16.el6_10.3
spice-server Red Hat:enterprise_linux:6::serverAll versions0:0.12.4-16.el6_10.3
spice-server-debuginfo Red Hat:enterprise_linux:6::serverAll versions0:0.12.4-16.el6_10.3
spice-server-devel Red Hat:enterprise_linux:6::serverAll versions0:0.12.4-16.el6_10.3
spice-server Red Hat:enterprise_linux:6::workstationAll versions0:0.12.4-16.el6_10.3
spice-server-debuginfo Red Hat:enterprise_linux:6::workstationAll versions0:0.12.4-16.el6_10.3
spice-server-devel Red Hat:enterprise_linux:6::workstationAll versions0:0.12.4-16.el6_10.3
spice Red Hat:enterprise_linux:7::clientAll versions0:0.14.0-6.el7_6.1
spice-debuginfo Red Hat:enterprise_linux:7::clientAll versions0:0.14.0-6.el7_6.1
spice-server Red Hat:enterprise_linux:7::clientAll versions0:0.14.0-6.el7_6.1
spice-server-devel Red Hat:enterprise_linux:7::clientAll versions0:0.14.0-6.el7_6.1
spice Red Hat:enterprise_linux:7::computenodeAll versions0:0.14.0-6.el7_6.1
spice-debuginfo Red Hat:enterprise_linux:7::computenodeAll versions0:0.14.0-6.el7_6.1
spice-server Red Hat:enterprise_linux:7::computenodeAll versions0:0.14.0-6.el7_6.1
spice-server-devel Red Hat:enterprise_linux:7::computenodeAll versions0:0.14.0-6.el7_6.1
spice Red Hat:enterprise_linux:7::serverAll versions0:0.14.0-6.el7_6.1
spice-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:0.14.0-6.el7_6.1
spice-server Red Hat:enterprise_linux:7::serverAll versions0:0.14.0-6.el7_6.1
spice-server-devel Red Hat:enterprise_linux:7::serverAll versions0:0.14.0-6.el7_6.1
spice Red Hat:enterprise_linux:7::workstationAll versions0:0.14.0-6.el7_6.1
spice-debuginfo Red Hat:enterprise_linux:7::workstationAll versions0:0.14.0-6.el7_6.1
spice-server Red Hat:enterprise_linux:7::workstationAll versions0:0.14.0-6.el7_6.1
spice-server-devel Red Hat:enterprise_linux:7::workstationAll versions0:0.14.0-6.el7_6.1
spice SUSE:Enterprise Storage 4All versions0.12.7-10.6.1
spice SUSE:Linux Enterprise Desktop 12 SP3All versions0.12.8-12.1
spice SUSE:Linux Enterprise Desktop 12 SP4All versions0.12.8-12.1
spice SUSE:Linux Enterprise Module for Server Applications 15All versions0.14.0-4.6.2
spice SUSE:Linux Enterprise Server 11 SP4All versions0.12.4-18.1
spice SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions0.12.5-10.2.3.1
spice SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.12.7-10.6.1
spice SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions0.12.7-10.6.1
spice SUSE:Linux Enterprise Server 12 SP3All versions0.12.8-12.1
spice SUSE:Linux Enterprise Server 12 SP4All versions0.12.8-12.1
spice SUSE:Linux Enterprise Server 12-LTSSAll versions0.12.4-8.21.1
spice SUSE:Linux Enterprise Server for SAP Applications 11 SP4All versions0.12.4-18.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 3 more.

How do I fix CVE-2019-3813?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-3813 being exploited?

There is no known exploitation of CVE-2019-3813 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-3813, DEBIAN-CVE-2019-3813, DLA-1649-1, DSA-4375-1, GHSA-j8r4-w4xh-mcv3, RHSA-2019:0231 and 11 more.

Is CVE-2019-3813 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free