Skip to content

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

HighCVSS 8.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

7 packages: 6 fixed.

PackageAffectedFixed inStatus
moonlight-stream moonlight = 0.10.22; >= 8.4.0, <= 8.5.0; >= 10.10, <= 11.0 after 8.5.0, 11.0 Fixed
moonlight-stream moonlight switch >= 0.13, <= 0.13.3 after 0.13.3 Fixed
moonlight-stream moonlight tv >= 1.5.4, <= 1.5.27 after 1.5.27 Fixed
moonlight-stream moonlight vita >= 0.9.2, <= 0.9.3 after 0.9.3 Fixed
moonlight-stream moonlight xbox >= 1.12.0, <= 1.14.40 after 1.14.40 Fixed
moonlight-stream moonlight-common-c = >= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 02b7742f4d19631024bd766bd2bb76715780004e; >= 2022-11-04, < 2023-10-06 2023-10-06 Fixed
moonlight-stream moonlight embedded = 2.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
moonlight-stream moonlight-common-c = >= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 02b7742f4d19631024bd766bd2bb76715780004e No fix listed
moonlight-stream moonlight-common-c >= 2022-11-04, < 2023-10-06 2023-10-06
moonlight-stream moonlight >= 8.4.0, <= 8.5.0 No fix listed
moonlight-stream moonlight >= 10.10, <= 11.0 No fix listed
moonlight-stream moonlight = 0.10.22 No fix listed
moonlight-stream moonlight embedded = 2.6.0 No fix listed
moonlight-stream moonlight xbox >= 1.12.0, <= 1.14.40 No fix listed
moonlight-stream moonlight tv >= 1.5.4, <= 1.5.27 No fix listed
moonlight-stream moonlight switch >= 0.13, <= 0.13.3 No fix listed
moonlight-stream moonlight vita >= 0.9.2, <= 0.9.3 No fix listed

References