Denial of Service Vulnerability in Spice Package: CVE-2021-20201

spice Updated 02 Oct 2025

Summary

28/05/2021
N/A
Yes i
Medium
5.3

ALPINE-CVE-2021-20201: A flaw was found in spice in versions before 0.14.92. Affects spice versions < 0.14.2-r1. Fixed in 0.14.2-r1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Spice package is a remote display server that enables users to interact with virtual machines. It provides high-quality video and audio streaming, allowing for efficient remote access and management of virtual environments. However, certain versions of Spice are vulnerable to a denial of service (DoS) attack, which can significantly impact system performance.

Vulnerability Detail

A flaw was identified in the Spice package versions prior to 0.14.92, where a denial of service (DoS) tool could be exploited by remote attackers. This vulnerability allows attackers to cause excessive CPU consumption by performing numerous renegotiations within a single connection. The potential ramifications include degraded performance and unavailability of services relying on the Spice package, which could disrupt operations in environments that depend on virtual machine management.

How To Fix

Minimum fixed version

0.14.2-r1

This is the first release that contains the fix.

sudo apk add --upgrade spice

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider limiting the number of concurrent connections to the Spice server or implementing network-level controls to mitigate the risk of DoS attacks.

Conclusion

The Spice package has a critical vulnerability (CVE-2021-20201) that can lead to denial of service attacks. It is essential to update to the latest patched version to mitigate risks. Users should also consider using tools like Vulert to monitor for vulnerabilities in their applications.

See every vulnerability recorded for spice →

Share this vulnerability

FAQ

CVE-2021-20201 is a vulnerability in the Spice package that allows remote attackers to cause a denial of service by performing multiple renegotiations within a single connection.

Versions of Spice prior to 0.14.92 are affected by this vulnerability.

The vulnerability can lead to excessive CPU consumption, resulting in degraded performance and potential unavailability of services that rely on the Spice package.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability without requiring signup.

If immediate updates are not possible, consider implementing network-level controls or limiting the number of concurrent connections to the Spice server as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for spice.

How To Fix

Minimum fixed version

0.14.2-r1

This is the first release that contains the fix.

sudo apk add --upgrade spice

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback