{"answers":{"affected":"It affects 7 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42800 exists.","fix":"No fix has been published for CVE-2023-42800 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-42800 is a high-severity memory corruption vulnerability in moonlight-stream moonlight-common-c, published on 14 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-42800 and fix it if it is affected.\n\nWhat it is: CVE-2023-42800 is a high-severity memory corruption vulnerability in moonlight-stream moonlight-common-c, published on 14 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-42800 exists.\n\nAffected product: moonlight-stream moonlight-common-c. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-42800/ (Markdown: https://insights.sbomify.com/CVE-2023-42800/index.md)","id":"CVE-2023-42800","markdown":"https://insights.sbomify.com/CVE-2023-42800/index.md","name":"CVE-2023-42800","record":{"aliases":["GHSA-4927-23jw-rq62"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GameStream client library","requires_auth":"none","summary":"A malicious game streaming server can trigger a buffer overflow in the Moonlight client library, potentially causing crashes or remote code execution.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"moonlight","vendor":"moonlight-stream"},{"product":"moonlight-common-c","vendor":"moonlight-stream"},{"product":"moonlight_embedded","vendor":"moonlight-stream"},{"product":"moonlight_switch","vendor":"moonlight-stream"},{"product":"moonlight_tv","vendor":"moonlight-stream"},{"product":"moonlight_vita","vendor":"moonlight-stream"},{"product":"moonlight_xbox","vendor":"moonlight-stream"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"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 24750d4b748fefa03d09fcfd6d45056faca354e0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Buffer overflow due to use of `strcpy` in `performRtspHandshake`","id":"CVE-2023-42800","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`","id":"CVE-2023-42801"},"packages":[],"prev":{"headline":"Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`","id":"CVE-2023-42799"},"products":["moonlight-common-c"],"published":"2023-12-14","related":[{"cvss_score":8.8,"headline":"Buffer overflow due to use of `strcpy` in `parseUrlAddrFromRtspUrlString`","id":"CVE-2023-42799","kev_date_added":null,"published":"2023-12-14"},{"cvss_score":7.6,"headline":"Stack buffer overflow due to `strcpy` into fixed size buffer in `extractVersionQuadFromString`","id":"CVE-2023-42801","kev_date_added":null,"published":"2023-12-14"},{"cvss_score":6.1,"headline":"Man-in-the-middle attack in Moonlight iOS/tvOS","id":"CVE-2020-11024","kev_date_added":null,"published":"2020-04-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-27","vendors":["moonlight-stream"]},"summary":"A malicious game streaming server can trigger a buffer overflow in the Moonlight client library, potentially causing crashes or remote code execution.","url":"https://insights.sbomify.com/CVE-2023-42800/"}