CVE-2017-1000117
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Git < 2.7.5 - Command Injection (Metasploit)
Metasploit modules
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2.14.1-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1:2.14.1-1 |
| sid | Fixed | 1:2.14.1-1 |
| forky | Fixed | 1:2.14.1-1 |
| bullseye | Fixed | 1:2.14.1-1 |
| bookworm | Fixed | 1:2.14.1-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| git-scm | git | {"endIncluding":"2.7.5"} | |
| git-scm | git | 2.8.0 | |
| git-scm | git | 2.8.1 | |
| git-scm | git | 2.8.2 | |
| git-scm | git | 2.8.3 | |
| git-scm | git | 2.8.4 | |
| git-scm | git | 2.8.5 | |
| git-scm | git | 2.9.0 | |
| git-scm | git | 2.9.1 | |
| git-scm | git | 2.9.2 | |
| git-scm | git | 2.9.3 | |
| git-scm | git | 2.9.4 | |
| git-scm | git | 2.10.0 | |
| git-scm | git | 2.10.1 | |
| git-scm | git | 2.10.2 | |
| git-scm | git | 2.10.3 | |
| git-scm | git | 2.11.0 | |
| git-scm | git | 2.11.1 | |
| git-scm | git | 2.11.2 | |
| git-scm | git | 2.12.0 | |
| git-scm | git | 2.12.1 | |
| git-scm | git | 2.12.2 | |
| git-scm | git | 2.12.3 | |
| git-scm | git | 2.13.0 | |
| git-scm | git | 2.13.1 | |
| git-scm | git | 2.13.2 | |
| git-scm | git | 2.13.3 | |
| git-scm | git | 2.13.4 | |
| git-scm | git | 2.14.0 | |
References
- https://security.archlinux.org/ASA-201708-6
- http://www.debian.org/security/2017/dsa-3934
- http://www.securityfocus.com/bid/100283
- http://www.securitytracker.com/id/1039131
- https://access.redhat.com/errata/RHSA-2017:2484
- https://access.redhat.com/errata/RHSA-2017:2485
- https://access.redhat.com/errata/RHSA-2017:2491
- https://access.redhat.com/errata/RHSA-2017:2674
- https://access.redhat.com/errata/RHSA-2017:2675
- https://security.gentoo.org/glsa/201709-10
- https://support.apple.com/HT208103
- https://www.exploit-db.com/exploits/42599/
- https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1466490.html
- https://www.suse.com/security/cve/CVE-2017-1000117.html
- https://security-tracker.debian.org/tracker/CVE-2017-1000117
CWEs
CWE-601
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.