8.8high
Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.88% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| moonlight-stream moonlight-common-c | >= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 02b7742f4d19631024bd766bd2bb76715780004e, from 2022-11-04 before 2023-10-06 | CVE List, NVD |
| moonlight-stream moonlight | from 8.4.0 up to 8.5.0, from 10.10 up to 11.0, 0.10.22 | NVD |
| moonlight-stream moonlight_embedded | 2.6.0 | NVD |
| moonlight-stream moonlight_xbox | from 1.12.0 up to 1.14.40 | NVD |
| moonlight-stream moonlight_tv | from 1.5.4 up to 1.5.27 | NVD |
| moonlight-stream moonlight_switch | from 0.13 up to 0.13.3 | NVD |
| moonlight-stream moonlight_vita | from 0.9.2 up to 0.9.3 | NVD |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Moonlight-common-c contiene el código principal del cliente GameStream compartido entre los clientes Moonlight. Moonlight-common-c es vulnerable al desbordamiento del búfer a partir de el commit 50c0a51b10ecc5b3415ea78c21d96d679e2288f9 debido al uso absoluto de funciones C inseguras y a una verificación de los límites inadecuada. Un servidor de transmisión de juegos malicioso podría aprovechar una vulnerabilidad de desbordamiento del búfer para bloquear un cliente de luz nocturna o lograr la ejecución remota de código (RCE) en el cliente (con mitigaciones de explotación insuficientes o si se pueden evitar las mitigaciones). El error se solucionó en el commit 02b7742f4d19631024bd766bd2bb76715780004e.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-42799 changed 2024-10-08 | CVE Terms of Use |
| NVD | CVE-2023-42799 changed 2026-06-17 | Public domain |