{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34105 exists.","fix":"No fix has been published for CVE-2023-34105 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-34105 is a high-severity command injection vulnerability in ossrs srs, published on 12 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-34105 and fix it if it is affected.\n\nWhat it is: CVE-2023-34105 is a high-severity command injection vulnerability in ossrs srs, published on 12 Jun 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34105 exists.\n\nAffected product: ossrs srs. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-34105/ (Markdown: https://insights.sbomify.com/CVE-2023-34105/index.md)","id":"CVE-2023-34105","markdown":"https://insights.sbomify.com/CVE-2023-34105/index.md","name":"CVE-2023-34105","record":{"aliases":["GHSA-vpr5-779c-cx62"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Real-time video server","requires_auth":"none","summary":"Attackers can execute arbitrary commands via the HTTP callback API endpoint, leading to remote code execution on the SRS video server.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"simple_realtime_server","vendor":"ossrs"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-34105.yaml","stars":null,"title":"SRS - Command Injection"}],"tier":"weaponised"},"has_fix":false,"headline":"SRS has command injection vulnerability in demonstration api-server for HTTP callback.","id":"CVE-2023-34105","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"GLPI vulnerable to unauthorized access to User data","id":"CVE-2023-34106"},"packages":[],"prev":{"headline":"Regex Injection via Doctype Entities","id":"CVE-2023-34104"},"products":["srs"],"published":"2023-06-12","related":[{"cvss_score":7.2,"headline":"SRS DOM - XSS on JSONP callback","id":"CVE-2024-29882","kev_date_added":null,"published":"2024-03-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-03","vendors":["ossrs"]},"summary":"Attackers can execute arbitrary commands via the HTTP callback API endpoint, leading to remote code execution on the SRS video server.","url":"https://insights.sbomify.com/CVE-2023-34105/"}