{"id":"CVE-2023-42800","published":"2023-12-14T16:57:44Z","modified":"2024-11-27T15:50:13Z","title":"Buffer overflow due to use of `strcpy` in `performRtspHandshake`","vendor":"moonlight-stream","product":"moonlight-common-c","tier":"tail","description":{"text":"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 24750d4b748fefa03d09fcfd6d45056faca354e0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01881,"percentile":0.79978,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/moonlight-stream/moonlight-common-c/security/advisories/GHSA-4927-23jw-rq62","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca354e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9","tags":["x_refsource_MISC"]},{"url":"https://github.com/moonlight-stream/moonlight-common-c/blob/2bb026c763fc18807d7e4a93f918054c488f84e1/src/RtspConnection.c#L796","tags":["x_refsource_MISC"]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":16.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"moonlight-stream","affectedVersions":[{"vendor":"moonlight-stream","product":"moonlight-common-c","versions":[">= 50c0a51b10ecc5b3415ea78c21d96d679e2288f9, < 24750d4b748fefa03d09fcfd6d45056faca354e0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-27T15:49:58.747260Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-47227","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moonlight-stream-moonlight-common-c-cve-2023-42799","children":[{"from":"CVE-2023-42800","to":"CVE-2023-42801","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Connection.c","src/Limelight-internal.h","src/RtspConnection.c"],"commits":["https://github.com/moonlight-stream/moonlight-common-c/commit/50c0a51b10ecc5b3415ea78c21d96d679e2288f9","https://github.com/moonlight-stream/moonlight-common-c/commit/24750d4b748fefa03d09fcfd6d45056faca354e0","https://github.com/moonlight-stream/moonlight-common-c/commit/b2497a3918a6d79808d9fd0c04734786e70d5954","https://github.com/moonlight-stream/moonlight-common-c/commit/f57bd745b4cbed577ea654fad4701bea4d38b44c"],"basis":"shared function","functions":["LiStartConnection","performRtspHandshake"]},{"kind":"similar","provenance":"machine","score":0.47,"basis":"same product + CWE + description similarity"}]}]}}