{"id":"CVE-2023-34105","sourceIdentifier":"security-advisories@github.com","published":"2023-06-12T17:15:09.887","lastModified":"2026-06-17T06:02:54.330","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"ossrs","product":"srs","versions":[{"version":">= 5.0.137, < 5.0.157","status":"affected"},{"version":">= 6.0.18, < 6.0.48","status":"affected"},{"version":"< 5.0-b1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-01-03T23:24:04.114062Z","id":"CVE-2023-34105","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-78"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-77"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.137","versionEndExcluding":"5.0.157","matchCriteriaId":"F8C0FC36-D0DE-47FF-83B9-B742B7664586"},{"vulnerable":true,"criteria":"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.18","versionEndExcluding":"6.0.48","matchCriteriaId":"1AAD4812-B232-4C1E-8EE1-C9E96CF339A9"}]}]}],"references":[{"url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","source":"security-advisories@github.com","tags":["Product"]},{"url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]},{"url":"https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Vendor Advisory"]}]}