{"api_version":"1","generated_at":"2026-07-24T02:46:42+00:00","cve":"CVE-2023-34105","urls":{"html":"https://cve.report/CVE-2023-34105","api":"https://cve.report/api/cve/CVE-2023-34105.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-34105","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-34105"},"summary":{"title":"CVE-2023-34105","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-06-12 17:15:00","updated_at":"2023-06-22 16:06:00"},"problem_types":["CWE-77"],"metrics":[],"references":[{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","name":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","refsource":"MISC","tags":[],"title":"Command injection in  demonstration api-server for HTTP callback. · Advisory · ossrs/srs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","name":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","refsource":"MISC","tags":[],"title":"Fix command injection in api-server for HTTP callback. v5.0.157, v6.0.48 · ossrs/srs@1d878c2 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","name":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","refsource":"MISC","tags":[],"title":"srs/server.go at 1d11d02e4b82fc3f37e4b048cff483b1581482c1 · ossrs/srs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-34105","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34105","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"34105","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ossrs","cpe5":"simple_realtime_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-34105","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","cweId":"CWE-78"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"ossrs","product":{"product_data":[{"product_name":"srs","version":{"version_data":[{"version_affected":"=","version_value":">= 5.0.137, < 5.0.157"},{"version_affected":"=","version_value":">= 6.0.18, < 6.0.48"},{"version_affected":"=","version_value":"< 5.0-b1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","refsource":"MISC","name":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62"},{"url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","refsource":"MISC","name":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338"},{"url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","refsource":"MISC","name":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761"}]},"source":{"advisory":"GHSA-vpr5-779c-cx62","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-06-12 17:15:00","lastModifiedDate":"2023-06-22 16:06:00","problem_types":["CWE-77"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.18","versionEndExcluding":"6.0.48","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.137","versionEndExcluding":"5.0.157","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}