{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-31221",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-03-29T14:16:31.901Z",
        "datePublished": "2024-04-08T15:10:17.071Z",
        "dateUpdated": "2024-09-03T18:00:09.752Z"
    },
    "containers": {
        "cna": {
            "title": "Clients removed during unpairing process may regain access if Sunshine was not restarted",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-384",
                            "lang": "en",
                            "description": "CWE-384: Session Fixation",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m"
                },
                {
                    "name": "https://github.com/LizardByte/Sunshine/issues/2305",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LizardByte/Sunshine/issues/2305"
                },
                {
                    "name": "https://github.com/LizardByte/Sunshine/pull/2365",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LizardByte/Sunshine/pull/2365"
                },
                {
                    "name": "https://github.com/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e"
                }
            ],
            "affected": [
                {
                    "vendor": "LizardByte",
                    "product": "Sunshine",
                    "versions": [
                        {
                            "version": ">= 0.10.0, < 0.23.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-04-08T15:10:17.071Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-v8gw-jw28-v55m",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T01:46:05.096Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/LizardByte/Sunshine/security/advisories/GHSA-v8gw-jw28-v55m"
                    },
                    {
                        "name": "https://github.com/LizardByte/Sunshine/issues/2305",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/LizardByte/Sunshine/issues/2305"
                    },
                    {
                        "name": "https://github.com/LizardByte/Sunshine/pull/2365",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/LizardByte/Sunshine/pull/2365"
                    },
                    {
                        "name": "https://github.com/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/LizardByte/Sunshine/commit/b7aa8119f1471844dccdf73a8b6f7efc9baddb5e"
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-07T17:59:28.747581Z",
                                "id": "CVE-2024-31221",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-03T18:00:09.752Z"
                }
            }
        ]
    }
}