{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000117 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2017-1000117 is a high-severity command injection vulnerability in n/a, published on 4 Oct 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-1000117 and fix it if it is affected.\n\nWhat it is: CVE-2017-1000117 is a high-severity command injection vulnerability in n/a, published on 4 Oct 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1000117 exists.\n\nAffected product: n/a. 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-2017-1000117/ (Markdown: https://insights.sbomify.com/CVE-2017-1000117/index.md)","id":"CVE-2017-1000117","markdown":"https://insights.sbomify.com/CVE-2017-1000117/index.md","name":"CVE-2017-1000117","record":{"aliases":["ALPINE-CVE-2017-1000117","CLEANSTART-2025-KP82477","DEBIAN-CVE-2017-1000117","DLA-1068-1","DSA-3934-1","GHSA-q5x8-47cx-6m4p","MGASA-2017-0266","RHSA-2017:2484","RHSA-2017:2485","SUSE-SU-2017:2225-1","SUSE-SU-2017:2320-1","UBUNTU-CVE-2017-1000117","USN-3387-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Git version control","requires_auth":"none","summary":"Attackers can execute arbitrary code on a victim's machine by tricking them into cloning a malicious repository with submodules.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"git","vendor":"git-scm"}],"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-601","name":"URL Redirection to Untrusted Site"}],"description":"A malicious third-party can give a crafted \"ssh://...\" URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running \"git clone --recurse-submodules\" to trigger the vulnerability.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","SUSE:Linux Enterprise Server 12 SP1-LTSS","SUSE:Linux Enterprise Server 12 SP2","SUSE:Linux Enterprise Server 12 SP3","SUSE:Linux Enterprise Server 12-LTSS","SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12","SUSE:Linux Enterprise Server for SAP Applications 12 SP1","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Software Development Kit 11 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP2","SUSE:Linux Enterprise Software Development Kit 12 SP3","SUSE:OpenStack Cloud 6","SUSE:Studio Onsite 1.3"],"exploits":{"exploitdb":1,"first_seen":"2017-08-10","github_poc":22,"max_poc_stars":136,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-08-14T15:05:48Z","kind":"github_poc","ref":"https://github.com/greymd/CVE-2017-1000117","stars":136,"title":"Check Git's vulnerability CVE-2017-1000117"},{"date":"2017-08-11T20:47:53Z","kind":"github_poc","ref":"https://github.com/Manouchehri/CVE-2017-1000117","stars":15,"title":null},{"date":"2017-08-11T07:03:23Z","kind":"github_poc","ref":"https://github.com/timwr/CVE-2017-1000117","stars":7,"title":"Proof of concept of CVE-2017-1000117"},{"date":"2017-08-16T02:05:08Z","kind":"github_poc","ref":"https://github.com/ieee0824/CVE-2017-1000117","stars":4,"title":null},{"date":"2017-08-12T18:20:02Z","kind":"github_poc","ref":"https://github.com/VulApps/CVE-2017-1000117","stars":3,"title":null},{"date":"2019-06-20T02:55:19Z","kind":"github_poc","ref":"https://github.com/AnonymKing/CVE-2017-1000117","stars":3,"title":"CVE-2017-1000117漏洞复现（PoC+Exp）"},{"date":"2017-08-18T16:23:53Z","kind":"github_poc","ref":"https://github.com/nkoneko/CVE-2017-1000117","stars":2,"title":"GitのCommand Injectionの脆弱性を利用してスクリプトを落として実行する例"},{"date":"2017-08-15T08:39:23Z","kind":"github_poc","ref":"https://github.com/sasairc/CVE-2017-1000117_wasawasa","stars":1,"title":null}],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in n/a","id":"CVE-2017-1000117","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":134,"n_references":12,"next":{"headline":"Improper Restriction of Operations within the Bounds of a Memory Buffer in akka-http-core","id":"CVE-2017-1000118"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git-el","purl":"pkg:rpm/redhat/emacs-git-el","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git","purl":"pkg:rpm/redhat/git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-all","purl":"pkg:rpm/redhat/git-all","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-cvs","purl":"pkg:rpm/redhat/git-cvs","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-daemon","purl":"pkg:rpm/redhat/git-daemon","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-debuginfo","purl":"pkg:rpm/redhat/git-debuginfo","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-email","purl":"pkg:rpm/redhat/git-email","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-gui","purl":"pkg:rpm/redhat/git-gui","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"git-svn","purl":"pkg:rpm/redhat/git-svn","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitk","purl":"pkg:rpm/redhat/gitk","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"gitweb","purl":"pkg:rpm/redhat/gitweb","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"perl-Git","purl":"pkg:rpm/redhat/perl-Git","source":"RHSA-2017:2485"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.7.1-9.el6_9"],"introduced":["0"],"last_affected":[],"package":"emacs-git","purl":"pkg:rpm/redhat/emacs-git","source":"RHSA-2017:2485"}],"prev":{"headline":"Mercurial is vulnerable to shell injection attack","id":"CVE-2017-1000116"},"products":["n/a"],"published":"2017-10-04","related":[{"cvss_score":9.8,"headline":"gitattributes parsing integer overflow in git","id":"CVE-2022-23521","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":9.8,"headline":"Integer overflow in `git archive`, `git log --format` leading to RCE in git","id":"CVE-2022-41903","kev_date_added":null,"published":"2023-01-17"},{"cvss_score":9.8,"headline":"Security feature bypass in Git","id":"CVE-2019-1353","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-2315","kev_date_added":null,"published":"2016-04-08"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-2324","kev_date_added":null,"published":"2016-04-08"},{"cvss_score":8.8,"headline":"Command injection in Git","id":"CVE-2019-1387","kev_date_added":null,"published":"2019-12-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code on a victim's machine by tricking them into cloning a malicious repository with submodules.","url":"https://insights.sbomify.com/CVE-2017-1000117/"}