SRS is a real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181. Prior to versions 5.0.157, 5.0-b1, and 6.0.48, SRS's api-server server is vulnerable to a drive-by command injection. An attacker may send a request to the /api/v1/snapshots endpoint containing any commands to be executed as part of the body of the POST request. This issue may lead to Remote Code Execution (RCE). Versions 5.0.157, 5.0-b1, and 6.0.48 contain a fix.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34105.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "5.0.137"
},
{
"fixed": "5.0.157"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.18"
},
{
"fixed": "6.0.48"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1d878c2daaf913ad01c6d0bc2f247116c8050338"
}
],
"source": "REFERENCES_COMMIT"
}
]
}