CVE-2023-42800 Buffer overflow due to use of `strcpy` in `performRtspHandshake`
HighCVSS 8.8
EPSS 1.9%
- Published
- Updated
- Exploit status
- No public exploit known
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 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
| Product | Affected versions | Fixed in |
|---|---|---|
| moonlight-stream moonlight-common-c | = >= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 24750d4b748fefa03d09fcfd6d45056faca354e0 | No fix listed |
| moonlight-stream moonlight-common-c | >= 2022-11-04, < 2023-10-06 | 2023-10-06 |
| moonlight-stream moonlight | >= 8.4.0, <= 8.5.0 | No fix listed |
| moonlight-stream moonlight | >= 10.10, <= 11.0 | No fix listed |
| moonlight-stream moonlight | = 0.10.22 | No fix listed |
| moonlight-stream moonlight embedded | = 2.6.0 | No fix listed |
| moonlight-stream moonlight xbox | >= 1.12.0, <= 1.14.40 | No fix listed |
| moonlight-stream moonlight tv | >= 1.5.4, <= 1.5.27 | No fix listed |
| moonlight-stream moonlight switch | >= 0.13, <= 0.13.3 | No fix listed |
| moonlight-stream moonlight vita | >= 0.9.2, <= 0.9.3 | No fix listed |
References
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-4927-23jw-rq62 exploit third-party-advisory
- https://github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca354e0 patch
- https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9 patch
- https://github.com/moonlight-stream/moonlight-common-c/blob/2bb026c763fc18807d7e4a93f918054c488f84e1/src/RtspConnection.c#L796 product