{"id":"CVE-2024-51738","published":"2025-01-20T15:26:03Z","modified":"2025-01-21T14:59:35Z","title":"Sunshine improperly enforces pairing protocol request order","vendor":"LizardByte","product":"Sunshine","tier":"tail","description":{"text":"Sunshine is a self-hosted game stream host for Moonlight. In 0.23.1 and earlier, Sunshine's pairing protocol implementation does not validate request order and is thereby vulnerable to a MITM attack, potentially allowing an unauthenticated attacker to pair a client by hijacking a legitimate pairing attempt. This bug may also be used by a remote attacker to crash Sunshine. This vulnerability is fixed in 2025.118.151840.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00877,"percentile":0.56728,"provenance":"source"},"cwes":[{"id":"CWE-305","name":"Authentication Bypass by Primary Weakness"},{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-841","name":"Improper Enforcement of Behavioral Workflow"}],"references":[{"url":"https://github.com/LizardByte/Sunshine/security/advisories/GHSA-3hrw-xv8h-9499","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LizardByte/Sunshine/commit/89f097ae65277d42b5d40163d09d92e412e6d7dd","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.35},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"lizardbyte","affectedVersions":[{"vendor":"LizardByte","product":"Sunshine","versions":["< 2025.118.151840"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-01-21T14:59:20.927312Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-45801","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lizardbyte-sunshine-cve-2024-31221","parents":[{"from":"CVE-2024-45407","to":"CVE-2024-51738","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/nvhttp.cpp","src/nvhttp.h"],"commits":["https://github.com/LizardByte/Sunshine/commit/5fcd07ecb1428bfe245ad6fa349aead476c7e772","https://github.com/LizardByte/Sunshine/commit/fd7e68457a134102d1b30af5796c79f2aa623224","https://github.com/LizardByte/Sunshine/commit/89f097ae65277d42b5d40163d09d92e412e6d7dd"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2024-51738","to":"CVE-2026-111044","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/nvhttp.cpp","src/nvhttp.h"],"commits":["https://github.com/LizardByte/Sunshine/commit/89f097ae65277d42b5d40163d09d92e412e6d7dd","https://github.com/LizardByte/Sunshine/commit/4d768847fcd88cc94ac745c4611715c67d7d67e1"],"basis":"rarely changed file"}]}]}}