Sunshine is a self-hosted game stream host for Moonlight. Starting in version 0.16.0 and prior to version 0.18.0, an attacker may be able to remotely read arbitrary files without authentication due to a path traversal vulnerability. Users who exposed the Sunshine configuration web user interface outside of localhost may be affected, depending on firewall configuration. To exploit vulnerability, attacker could make an http/s request to the node_modules endpoint if user exposed Sunshine config web server to internet or attacker is on the LAN. Version 0.18.0 contains a patch for this issue. As a workaround, one may block access to Sunshine via firewall.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31220.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.16.0"
},
{
"fixed": "0.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "v0.18.0",
"range": [
{
"fixed": "b2c5da2cfca2ff503114c4ff51545c922098c4f3"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:lizardbyte:sunshine:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.16.0"
},
{
"fixed": "0.18.0"
}
],
"source": "CPE_RANGE"
}
]
}