FreeRDP up to 2.10.x/3.0.0-beta2 ncrush_decompress buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in FreeRDP up to 2.10.x/3.0.0-beta2. This affects the function ncrush_decompress. Executing a manipulation can lead to buffer overflow.
The identification of this vulnerability is CVE-2023-40589. The attack may be launched remotely. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability has been found in FreeRDP up to 2.10.x/3.0.0-beta2 and classified as critical. This vulnerability affects the function ncrush_decompress. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect availability. CVE summarizes:
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions there is a Global-Buffer-Overflow in the ncrush_decompress function. Feeding crafted input into this function can trigger the overflow which has only been shown to cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
The weakness was shared 09/01/2023 as GHSA-gc34-mw6m-g42x. The advisory is shared for download at github.com. This vulnerability was named CVE-2023-40589 since 08/16/2023. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 216351 (Debian dla-4053 : freerdp2-dev - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.11.0 or 3.0.0-beta3 eliminates this vulnerability. Applying the patch 16141a30f983dd6f7a6e5b0356084171942c9416 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (216351). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
Website
- Product: https://github.com/FreeRDP/FreeRDP/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 4.3
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 216351
Nessus Name: Debian dla-4053 : freerdp2-dev - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: FreeRDP 2.11.0/3.0.0-beta3
Patch: 16141a30f983dd6f7a6e5b0356084171942c9416
Timeline
08/16/2023 🔍09/01/2023 🔍
09/01/2023 🔍
02/16/2025 🔍
Sources
Product: github.comAdvisory: GHSA-gc34-mw6m-g42x
Status: Confirmed
CVE: CVE-2023-40589 (🔍)
GCVE (CVE): GCVE-0-2023-40589
GCVE (VulDB): GCVE-100-238504
Entry
Created: 09/01/2023 07:09Updated: 02/16/2025 01:58
Changes: 09/01/2023 07:09 (50), 09/01/2023 07:13 (2), 09/27/2023 18:41 (11), 02/16/2025 01:58 (18)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.