CVE-2023-42799
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:
20/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 02b7742f4d19631024bd766bd2bb76715780004e.
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/commit/02b7742f4d19631024bd766bd2bb76715780004e
- https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9
- https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-r8cf-45f4-vf8m



