{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-34362 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-34362 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-34362 is a high-severity command injection vulnerability in QNAP Systems Inc. Media Streaming add-on, published on 22 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-34362 and fix it if it is affected.\n\nWhat it is: CVE-2021-34362 is a high-severity command injection vulnerability in QNAP Systems Inc. Media Streaming add-on, published on 22 Oct 2021. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-34362 in the wild and no public exploit code.\n\nAffected product: QNAP Systems Inc. Media Streaming add-on. 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-2021-34362/ (Markdown: https://insights.sbomify.com/CVE-2021-34362/index.md)","id":"CVE-2021-34362","markdown":"https://insights.sbomify.com/CVE-2021-34362/index.md","name":"CVE-2021-34362","record":{"aliases":["GHSA-rfgr-8gxv-c42h"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"QNAP NAS add-on","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary commands on QNAP devices via the Media Streaming add-on, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"qnap","cpe":[{"product":"media_streaming_add-on","vendor":"qnap"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","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":"A command injection vulnerability has been reported to affect QNAP device running Media Streaming add-on. If exploited, this vulnerability allow remote attackers to run arbitrary commands. We have already fixed this vulnerability in the following versions of Media Streaming add-on: QTS 5.0.0: Media Streaming add-on 500.0.0.3 ( 2021/08/20 ) and later QTS 4.5.4: Media Streaming add-on 500.0.0.3 ( 2021/08/20 ) and later QTS 4.3.6: Media Streaming add-on 430.1.8.12 ( 2021/08/20 ) and later QTS 4.3.3: Media Streaming add-on 430.1.8.12 ( 2021/09/29 ) and later QuTS-Hero 5.0.0: Media Streaming add-on 500.0.0.3 ( 2021/08/20 ) and later","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Command Injection Vulnerability in Media Streaming Add-on","id":"CVE-2021-34362","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"The Fuck Arbitrary File Deletion via Path Traversal","id":"CVE-2021-34363"},"packages":[],"prev":{"headline":"Reflected XSS Vulnerability in Proxy Server","id":"CVE-2021-34361"},"products":["Media Streaming add-on"],"published":"2021-10-22","related":[{"cvss_score":9.8,"headline":"SQL Injection Vulnerability in Multimedia Console and the Media Streaming Add-On","id":"CVE-2020-36195","kev_date_added":null,"published":"2021-04-17"},{"cvss_score":9.8,"headline":"Command injection in QNAP Media Streaming Add-On","id":"CVE-2017-7640","kev_date_added":null,"published":"2018-03-08"},{"cvss_score":9.6,"headline":"Media Streaming add-on","id":"CVE-2023-47222","kev_date_added":null,"published":"2024-04-26"},{"cvss_score":9,"headline":"QTS, Multimedia Console, and Media Streaming add-on","id":"CVE-2023-23369","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":8.8,"headline":"Cross-site request forgery in QNAP Media Streaming Add-On","id":"CVE-2017-7641","kev_date_added":null,"published":"2018-03-08"},{"cvss_score":6.9,"headline":"Media Streaming add-on","id":"CVE-2024-50395","kev_date_added":null,"published":"2024-11-22"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["QNAP Systems Inc."]},"summary":"Remote attackers can execute arbitrary commands on QNAP devices via the Media Streaming add-on, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2021-34362/"}