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:03Z
Modified
2026-11-14T13:03:11Z
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
{
    "cna_assigner": "GitHub_M",
    "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"
}
References

Affected packages

Git / github.com/SunshineStream/Sunshine

Affected ranges

Type
GIT
Repo
https://github.com/SunshineStream/Sunshine
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2025.118.151840"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "89f097ae65277d42b5d40163d09d92e412e6d7dd"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

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
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "100797209542739115812235067227520091293",
                "329401114149137010212533541894201858521",
                "318869231849667477070365927931170859211",
                "217289876954024892228425605780184212001",
                "209396242423772124008953874661009101364",
                "333404222899660741237501109237317311480",
                "102335417461609269863129701546020173774",
                "252350538578695794295935125722942899083"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-51738-5a9c555b",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/SunshineStream/Sunshine/commit/26566cc04db12c5bc7434e480cffa025ed838bce",
        "target": {
            "file": "tests/unit/test_http_pairing.cpp"
        }
    }
]
vanir_signatures_modified
"2026-11-14T13:03:11Z"