CVE-2023-42800
Severity CVSS v4.0:
Pending analysis
Type:
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Publication date:
14/12/2023
Last modified:
21/12/2023
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:moonlight-stream:moonlight-common-c:*:*:*:*:*:*:*:* | 2022-11-04 (including) | 2023-10-06 (excluding) |
cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:iphone_os:*:* | 8.4.0 (including) | 8.5.0 (including) |
cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:tvos:*:* | 8.4.0 (including) | 8.5.0 (including) |
cpe:2.3:a:moonlight-stream:moonlight:*:*:*:*:*:android:*:* | 10.10 (including) | 11.0 (including) |
cpe:2.3:a:moonlight-stream:moonlight:0.10.22:*:*:*:*:chrome:*:* | ||
cpe:2.3:a:moonlight-stream:moonlight_embedded:2.6.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:moonlight-stream:moonlight_xbox:*:*:*:*:*:*:*:* | 1.12.0 (including) | 1.14.40 (including) |
cpe:2.3:a:moonlight-stream:moonlight_tv:*:*:*:*:*:*:*:* | 1.5.4 (including) | 1.5.27 (including) |
cpe:2.3:a:moonlight-stream:moonlight_switch:*:*:*:*:*:*:*:* | 0.13 (including) | 0.13.3 (including) |
cpe:2.3:a:moonlight-stream:moonlight_vita:*:*:*:*:*:*:*:* | 0.9.2 (including) | 0.9.3 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/moonlight-stream/moonlight-common-c/blob/2bb026c763fc18807d7e4a93f918054c488f84e1/src/RtspConnection.c#L796
- https://github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca354e0
- https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-4927-23jw-rq62