CVE-2023-42799 HIGH

CVE-2023-42799: Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`

Vendor Moonlight-Stream
Product moonlight-common-c
Weakness CWE-120
Published December 14, 2023
Last update October 8, 2024

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 14, 2023 CVE published
October 8, 2024 Record updated