CVE-2024-51738

Source
https://cve.org/CVERecord?id=CVE-2024-51738
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-51738.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-51738
Aliases
  • GHSA-3hrw-xv8h-9499
Published
2025-01-20T15:26:03.955Z
Modified
2026-04-12T08:40:50.375072Z
Severity
  • 7.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Sunshine improperly enforces pairing protocol request order
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-305",
        "CWE-476",
        "CWE-841"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51738.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/lizardbyte/sunshine

Affected ranges

Type
GIT
Repo
https://github.com/lizardbyte/sunshine
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1.0
v0.1.1
v0.10.0
v0.11.0
v0.11.1
v0.2.0
v0.3.0
v0.3.1
v0.4.0
v0.8.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-51738.json"
vanir_signatures_modified
"2026-04-12T08:40:50Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "100797209542739115812235067227520091293",
                "329401114149137010212533541894201858521",
                "318869231849667477070365927931170859211",
                "217289876954024892228425605780184212001",
                "209396242423772124008953874661009101364",
                "333404222899660741237501109237317311480",
                "102335417461609269863129701546020173774",
                "252350538578695794295935125722942899083"
            ]
        },
        "source": "https://github.com/lizardbyte/sunshine/commit/26566cc04db12c5bc7434e480cffa025ed838bce",
        "id": "CVE-2024-51738-0ba23997",
        "signature_type": "Line",
        "target": {
            "file": "tests/unit/test_http_pairing.cpp"
        }
    }
]