CVE-2023-42800
Moonlight-stream Moonlight-common-c vulnerability
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 products
Moonlight-common-c, Moonlight, Moonlight Embedded, Moonlight Xbox, Moonlight Tv, Moonlight Switch, Moonlight Vita. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Moonlight-stream Moonlight-common-c runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca3 · Patch
- github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e22 · Patch
- github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-4927-23jw-rq62 · Exploit
- github.com/moonlight-stream/moonlight-common-c/blob/2bb026c763fc18807d7e4a93f918054c488f84
- nvd.nist.gov/vuln/detail/CVE-2023-42800
- cve.org/CVERecord?id=CVE-2023-42800
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.