CVE-2023-42799: Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`
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 02b7742f4d19631024bd766bd2bb76715780004e.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2023-42799?
CVE-2023-42799 is considered a high severity vulnerability due to its potential to cause a buffer overflow.
How do I fix CVE-2023-42799?
To fix CVE-2023-42799, users must update to the patched version of moonlight-common-c or the affected Moonlight applications.
What type of vulnerability is CVE-2023-42799?
CVE-2023-42799 is a buffer overflow vulnerability stemming from unsafe C function usage and improper bounds checking.
Which software is affected by CVE-2023-42799?
CVE-2023-42799 affects various Moonlight applications, including moonlight-common-c and specific versions of the Moonlight client for iOS, Android, and others.
When was CVE-2023-42799 introduced?
CVE-2023-42799 was introduced starting in commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9.