{"id":"CVE-2023-34105","summary":"SRS has command injection vulnerability in demonstration api-server for HTTP callback.","details":"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.","aliases":["GHSA-vpr5-779c-cx62"],"modified":"2026-08-12T03:51:47.453745342Z","published":"2023-06-12T16:30:39.747Z","database_specific":{"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":[{"introduced":"5.0.137"},{"fixed":"5.0.157"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34105.json"},{"type":"ADVISORY","url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34105"},{"type":"FIX","url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ossrs/srs","events":[{"introduced":"0"},{"fixed":"1d878c2daaf913ad01c6d0bc2f247116c8050338"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"6.0.18"},{"fixed":"6.0.48"}]}}],"versions":["v6.0.45","v6.0.36","v6.0.10","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-34105.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}