CVE-2023-42800: Buffer overflow due to use of `strcpy` in `performRtspHandshake`
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 due to unmitigated usage of unsafe C functions and improper bounds checking. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client, or achieve remote code execution (RCE) on the client (with insufficient exploit mitigations or if mitigations can be bypassed). The bug was addressed in commit 24750d4b748fefa03d09fcfd6d45056faca354e0.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-42800?
CVE-2023-42800 is classified as a critical vulnerability due to the potential for a buffer overflow.
How do I fix CVE-2023-42800?
To fix CVE-2023-42800, update to the latest version of Moonlight-common-c that addresses this buffer overflow issue.
What software is affected by CVE-2023-42800?
CVE-2023-42800 affects various versions of Moonlight and Moonlight-common-c across multiple platforms including mobile and embedded systems.
What are the consequences of exploiting CVE-2023-42800?
Exploiting CVE-2023-42800 could allow attackers to execute arbitrary code remotely, compromising the affected system.
When was CVE-2023-42800 introduced?
CVE-2023-42800 was introduced in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9.