Denial of Service Vulnerability in Spice Package: CVE-2021-20201
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.
References
Related vulnerabilities
Recent vulnerabilities recorded for spice.