# CVE-2020-14355: Memory corruption in spice

> Buffer overflows in SPICE QUIC decoding allow malicious clients or servers to cause crashes or execute code.

- **Severity:** Medium 6.6 (`CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 7 Oct 2020
- **Updated:** 4 Aug 2024
- **Also known as:** ALPINE-CVE-2020-14355, DEBIAN-CVE-2020-14355, DLA-2427-1, DLA-2428-1, DSA-4771-1, GHSA-2457-jhx6-82v4, MGASA-2020-0408, OESA-2021-1082, RHSA-2020:4184, RHSA-2020:4185, RHSA-2020:4186, RHSA-2020:4187, SUSE-SU-2020:3070-1, SUSE-SU-2020:3071-1, SUSE-SU-2020:3084-1, SUSE-SU-2020:3085-1, SUSE-SU-2021:1905-1, SUSE-SU-2021:1911-1, SUSE-SU-2021:1928-1, UBUNTU-CVE-2020-14355, USN-4572-1, USN-4572-2, openSUSE-SU-2020:1802-1, openSUSE-SU-2020:1803-1

## What is CVE-2020-14355?

CVE-2020-14355 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 7 Oct 2020. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

Multiple buffer overflow vulnerabilities were found in the QUIC image decoding process of the SPICE remote display system, before spice-0.14.2-1. Both the SPICE client (spice-gtk) and server are affected by these flaws. These flaws allow a malicious client or server to send specially crafted messages that, when processed by the QUIC image compression algorithm, result in a process crash or potential code execution.

Weakness: CWE-120 (Buffer Copy without Checking Size of Input)

## Which versions are affected by CVE-2020-14355?

It affects 10 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `spice` | Red Hat:enterprise_linux:7::client | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-glib` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-glib-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-debuginfo` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-tools` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-vala` | Red Hat:enterprise_linux:7::client | All versions | 0:0.35-5.el7_9.1 |
| `spice-server` | Red Hat:enterprise_linux:7::client | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-server-devel` | Red Hat:enterprise_linux:7::client | All versions | 0:0.14.0-9.el7_9.1 |
| `spice` | Red Hat:enterprise_linux:7::computenode | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-debuginfo` | Red Hat:enterprise_linux:7::computenode | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-server` | Red Hat:enterprise_linux:7::computenode | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-server-devel` | Red Hat:enterprise_linux:7::computenode | All versions | 0:0.14.0-9.el7_9.1 |
| `spice` | Red Hat:enterprise_linux:7::server | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-debuginfo` | Red Hat:enterprise_linux:7::server | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-glib` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-glib-devel` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-debuginfo` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-tools` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-devel` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-vala` | Red Hat:enterprise_linux:7::server | All versions | 0:0.35-5.el7_9.1 |
| `spice-server` | Red Hat:enterprise_linux:7::server | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-server-devel` | Red Hat:enterprise_linux:7::server | All versions | 0:0.14.0-9.el7_9.1 |
| `spice` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-debuginfo` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-glib` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-glib-devel` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-debuginfo` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk-tools` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-devel` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-gtk3-vala` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.35-5.el7_9.1 |
| `spice-server` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.14.0-9.el7_9.1 |
| `spice-server-devel` | Red Hat:enterprise_linux:7::workstation | All versions | 0:0.14.0-9.el7_9.1 |

Products: Canonical Ubuntu Linux, Debian Debian Linux, Opensuse Leap, Redhat Enterprise Linux, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Tus, Redhat Enterprise Linux Update Services for Sap Solutions, Redhat Openstack, Spice Project Spice.

## How do I fix CVE-2020-14355?

Upgrade to a fixed version.

## Is CVE-2020-14355 being exploited?

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

## Other vulnerabilities in Canonical Ubuntu Linux

- [CVE-2020-11651](https://insights.sbomify.com/CVE-2020-11651/): SaltStack Salt Authentication Bypass (critical 9.8, exploited in the wild)
- [CVE-2020-7247](https://insights.sbomify.com/CVE-2020-7247/): OpenSMTPD Remote Code Execution (critical 9.8, exploited in the wild)
- [CVE-2019-16928](https://insights.sbomify.com/CVE-2019-16928/): Exim Out-of-bounds Write (critical 9.8, exploited in the wild)
- [CVE-2018-6789](https://insights.sbomify.com/CVE-2018-6789/): Exim Buffer Overflow (critical 9.8, exploited in the wild)
- [CVE-2015-2590](https://insights.sbomify.com/CVE-2015-2590/): Oracle Java SE and Java SE Embedded Remote Code Execution (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-14355 and fix it if it is affected.

What it is: CVE-2020-14355 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 7 Oct 2020. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2020-14355 in the wild and no public exploit code.

Affected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-14355/ (Markdown: https://insights.sbomify.com/CVE-2020-14355/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-14355
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-14355
- OSV: https://osv.dev/vulnerability/CVE-2020-14355

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-14355/
Summaries are generated and may contain mistakes; the official description above is the record.
