{"id":"CVE-2017-1000117","published":"2017-10-04T01:00:00Z","modified":"2024-08-05T21:53:06Z","title":"A malicious third-party can give a crafted \"ssh://...\" URL to an unsuspecting victim, and an attempt to visit the URL…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a command-execution weakness in Git's handling of \"ssh://\" URLs, where a crafted URL supplied by a third party can cause the victim's machine to run an arbitrary program. An attacker could plant such a URL in the .gitmodules file of a malicious project and trick a victim into running \"git clone --recurse-submodules\" on it, which triggers execution of whatever program the attacker specifies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:19:11Z"},"cvss":null,"epss":{"score":0.77823,"percentile":0.99568,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.debian.org/security/2017/dsa-3934","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2674","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1039131","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.exploit-db.com/exploits/42599/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2675","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2484","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2491","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.apple.com/HT208103","tags":["x_refsource_CONFIRM"]},{"url":"https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1466490.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/100283","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://security.gentoo.org/glsa/201709-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2485","tags":["vendor-advisory","x_refsource_REDHAT"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-1408","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-1408","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":42599,"url":"https://www.exploit-db.com/exploits/42599","title":"Git < 2.7.5 - Command Injection (Metasploit)","type":"remote","platform":"python","date":"2017-08-31","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-08-31"},"pocGithub":{"count":15,"skipped":7,"earliest":"2017-08-11","earliestUrl":"https://github.com/timwr/CVE-2017-1000117","repos":[{"name":"greymd/CVE-2017-1000117","url":"https://github.com/greymd/CVE-2017-1000117","stars":136,"created":"2017-08-14"},{"name":"Manouchehri/CVE-2017-1000117","url":"https://github.com/Manouchehri/CVE-2017-1000117","stars":15,"created":"2017-08-11"},{"name":"timwr/CVE-2017-1000117","url":"https://github.com/timwr/CVE-2017-1000117","stars":7,"created":"2017-08-11"},{"name":"ieee0824/CVE-2017-1000117","url":"https://github.com/ieee0824/CVE-2017-1000117","stars":4,"created":"2017-08-16"},{"name":"VulApps/CVE-2017-1000117","url":"https://github.com/VulApps/CVE-2017-1000117","stars":3,"created":"2017-08-12"}]},"metasploit":[{"name":"Malicious Git HTTP Server For CVE-2017-1000117","module":"exploit/multi/http/git_submodule_command_exec","type":"exploit","disclosureDate":"2017-08-10","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_command_exec.rb"}],"first":{"date":"2017-08-10","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_command_exec.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/42599/"],"flow":[],"timeline":[{"date":"2017-08-10","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2017-08-11, Exploit-DB 2017-08-31","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/git_submodule_command_exec.rb","provenance":"source"},{"date":"2017-10-04","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000117","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9957"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 15 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"parents":[{"from":"CVE-2017-12976","to":"CVE-2017-1000117","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…ackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, as demonstrated by an ssh://-eProxyCommand= URL, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-12976"}]}],"children":[{"from":"CVE-2017-1000117","to":"CVE-2017-14176","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…ows remote attackers to execute arbitrary commands via a bzr+ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-16228, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-14176"}]},{"from":"CVE-2017-1000117","to":"CVE-2017-16228","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…rocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-16228"}]},{"from":"CVE-2017-1000117","to":"CVE-2017-17459","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…tackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-14176, CVE-2017-16228, CVE-2017-1000116, and CVE-2017-1000117.","from":"CVE.org","in":"CVE-2017-17459"}]}]}}