CVE-2023-42799
JSON

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 packageVersionsReported by
moonlight-stream moonlight-common-c>= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 02b7742f4d19631024bd766bd2bb76715780004e, from 2022-11-04 before 2023-10-06CVE List, NVD
moonlight-stream moonlightfrom 8.4.0 up to 8.5.0, from 10.10 up to 11.0, 0.10.22NVD
moonlight-stream moonlight_embedded2.6.0NVD
moonlight-stream moonlight_xboxfrom 1.12.0 up to 1.14.40NVD
moonlight-stream moonlight_tvfrom 1.5.4 up to 1.5.27NVD
moonlight-stream moonlight_switchfrom 0.13 up to 0.13.3NVD
moonlight-stream moonlight_vitafrom 0.9.2 up to 0.9.3NVD

All scores

GitHub_M8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-120

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

SourceRecordLicence
CVE ListCVE-2023-42799 changed 2024-10-08CVE Terms of Use
NVDCVE-2023-42799 changed 2026-06-17Public domain