Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`
CVE-2023-42801

7.6HIGH

Key Information:

Vendor
CVE Published:
14 December 2023

What is CVE-2023-42801?

Moonlight-common-c, the core codebase shared among Moonlight GameStream clients, is exposed to a buffer overflow vulnerability that could lead to client crashes. Exploitation of this vulnerability requires a malicious game streaming server to deceive the client into pairing with it. While remote code execution (RCE) is theoretically possible, practical exploitation is minimized by the implementation of stack canaries in the official binaries. However, unofficial clients may lack these protections, increasing risk. The issue originates in the codebase since commit f57bd745b4cbed577ea654fad4701bea4d38b44c and has been mitigated in subsequent commits.

Affected Version(s)

moonlight-common-c >= f57bd745b4cbed577ea654fad4701bea4d38b44c, < b2497a3918a6d79808d9fd0c04734786e70d5954

References

CVSS V3.1

Score:
7.6
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.