{"answers":{"affected":"3 open source packages ship an affected version, including rtv. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-17516 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2017-17516 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-17516 is a high-severity command injection vulnerability in n/a, published on 14 Dec 2017. 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-2017-17516 and fix it if it is affected.\n\nWhat it is: CVE-2017-17516 is a high-severity command injection vulnerability in n/a, published on 14 Dec 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2017-17516 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rtv (PyPI): affected all versions up to 1.19.0; no fix listed\n- rtv (PyPI): affected all versions up to 1.19.0; no fix listed\n- rtv (PyPI): affected all versions up to 1.19.0; no fix listed\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-2017-17516/ (Markdown: https://insights.sbomify.com/CVE-2017-17516/index.md)","id":"CVE-2017-17516","markdown":"https://insights.sbomify.com/CVE-2017-17516/index.md","name":"CVE-2017-17516","record":{"aliases":["DEBIAN-CVE-2017-17516","GHSA-336h-q7mh-8vf8","PYSEC-2026-914","UBUNTU-CVE-2017-17516"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Reddit Terminal Viewer","requires_auth":"none","summary":"Attackers can execute arbitrary commands via argument injection in the BROWSER environment variable when opening crafted URLs in RTV.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"reddit_terminal_viewer","vendor":"reddit_terminal_viewer_project"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"scripts/inspect_webbrowser.py in Reddit Terminal Viewer (RTV) 1.19.0 does not validate strings before launching the program specified by the BROWSER environment variable, which might allow remote attackers to conduct argument-injection attacks via a crafted URL.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Reddit Terminal Viewer (RTV) vulnerable to argument injection attacks","id":"CVE-2017-17516","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":3,"n_references":1,"next":{"headline":"Command injection in n/a","id":"CVE-2017-17517"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.19.0"],"package":"rtv","purl":null,"source":"GHSA-336h-q7mh-8vf8"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.19.0"],"package":"rtv","purl":"pkg:pypi/rtv","source":"GHSA-336h-q7mh-8vf8"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["1.19.0"],"package":"rtv","purl":"pkg:pypi/rtv","source":"PYSEC-2026-914"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2017-17515"},"products":["n/a"],"published":"2017-12-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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-08-05","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via argument injection in the BROWSER environment variable when opening crafted URLs in RTV.","url":"https://insights.sbomify.com/CVE-2017-17516/"}