Critical Out-Of-Bounds Read Vulnerability in rdesktop Package
Summary
ALPINE-CVE-2018-8792: rdesktop versions up to and including v1.8.3 contain an Out-Of-Bounds Read in function cssp_read_tsrequest() that results in a Denial of Service (segfault). Affects rdesktop versions < 1.8.6-r0. Fixed in 1.8.6-r0. 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
rdesktop is an open-source client for the Remote Desktop Protocol (RDP), allowing users to connect to Windows desktops remotely. It is widely used for its simplicity and effectiveness in providing remote access. However, certain versions of rdesktop are vulnerable to an Out-Of-Bounds Read issue, which can lead to Denial of Service (DoS) attacks.
Vulnerability Detail
The vulnerability, identified as CVE-2018-8792, exists in rdesktop versions up to and including v1.8.3. It arises from an Out-Of-Bounds Read in the function cssp_read_tsrequest(). This flaw can be exploited to cause a segmentation fault (segfault), resulting in a Denial of Service. Attackers can leverage this vulnerability to disrupt services, making the application unavailable to legitimate users.
How To Fix
Minimum fixed version
1.8.6-r0
This is the first release that contains the fix.
sudo apk add --upgrade rdesktop
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If you cannot immediately update the package, consider restricting access to the rdesktop service or using alternative remote desktop solutions until the update can be applied.
Conclusion
The rdesktop package has a critical vulnerability that can lead to Denial of Service. It is essential to update to the patched version to mitigate risks. Users should also consider using Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for rdesktop →
FAQ
CVE-2018-8792 is a vulnerability in the rdesktop package that allows for an Out-Of-Bounds Read, potentially leading to Denial of Service.
rdesktop versions up to and including v1.8.3 are affected by this vulnerability.
Exploitation of this vulnerability can lead to a Denial of Service, causing the application to crash and become unavailable.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
The CVSS score for this vulnerability is 7.5, indicating a high severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for rdesktop.