Vulnerability Description
Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d38b44c. A malicious game streaming server could exploit a buffer overflow vulnerability to crash a moonlight client. Achieving RCE is possible but unlikely, due to stack canaries in use by modern compiler toolchains. The published binaries for official clients Qt, Android, iOS/tvOS, and Embedded are built with stack canaries, but some unofficial clients may not use stack canaries. This vulnerability takes place after the pairing process, so it requires the client to be tricked into pairing to a malicious host. It is not possible to perform using a man-in-the-middle due to public key pinning that takes place during the pairing process. The bug was addressed in commit b2497a3918a6d79808d9fd0c04734786e70d5954.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Moonlight-Stream | Moonlight-Common-C | >= 2016-10-05, < 2023-10-06 |
| Moonlight-Stream | Moonlight | < 9.0.0 |
| Moonlight-Stream | Moonlight Embedded | < 2.6.1 |
| Moonlight-Stream | Moonlight Xbox | <= 1.14.5 |
| Moonlight-Stream | Moonlight Tv | < 1.6.0 |
| Moonlight-Stream | Moonlight Switch | < 0.13.4 |
| Moonlight-Stream | Moonlight Vita | All versions |
| Moonlight-Stream | Moonlight Qt\/Pc | <= 5.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c889Exploit
- https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808Patch
- https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ePatch
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-ExploitThird Party Advisory
- https://github.com/moonlight-stream/moonlight-common-c/blob/c1744de06938b5a5c889Exploit
- https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808Patch
- https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ePatch
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-ExploitThird Party Advisory
FAQ
What is CVE-2023-42801?
CVE-2023-42801 is a vulnerability with a CVSS score of 7.6 (HIGH). Moonlight-common-c contains the core GameStream client code shared between Moonlight clients. Moonlight-common-c is vulnerable to buffer overflow starting in commit f57bd745b4cbed577ea654fad4701bea4d3...
How severe is CVE-2023-42801?
CVE-2023-42801 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-42801?
Check the references section above for vendor advisories and patch information. Affected products include: Moonlight-Stream Moonlight-Common-C, Moonlight-Stream Moonlight, Moonlight-Stream Moonlight Embedded, Moonlight-Stream Moonlight Xbox, Moonlight-Stream Moonlight Tv.