CVE-2024-31221 json
Clients removed during unpairing process may regain access if Sunshine was not restarted
published 2y ago modified 4mo ago also EUVD-2024-29118
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
Sunshine is a self-hosted game stream host for Moonlight. Starting in version 0.10.0 and prior to version 0.23.0, after unpairing all devices in the web UI interface and then pairing only one device, all of the previously devices will be temporarily paired. Version 0.23.0 contains a patch for the issue. As a workaround, restarting Sunshine after unpairing all devices prevents the vulnerability.
Patch / fix
- lizardbyte sunshine 0.23.0
- github.com/LizardByte/Sunshine@b7aa811 commit
- github.com/LizardByte/Sunshine#2365 pull request
Is CVE-2024-31221 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/LizardByte/Sunshine/issues/2305 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L |
Affected products
- LizardByte Sunshine
Classification
- Weakness
-
- CWE-384 Session Fixation
References
-
github.com
/LizardByte/Sunshine/pull/2365
issue-tracking, patch
-
github.com
/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e
patch
-
github.com
/LizardByte/Sunshine/issues/2305
exploit, issue-tracking
-
github.com
/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m
vendor-advisory
Sources
- CVE List CVE-2024-31221
- NVD CVE-2024-31221
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.