CVE-2017-12976
publishedgit-annex: RCE via ssh URL with an initial dash character in the hostname
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | git-annex | Advisory build | 5.20141125+deb8u1 | DSA-4010-1 |
| Debian | jessie | git-annex | Advisory build | 5.20141125+oops-1+deb8u2 | DLA-1495-1 |
| Debian | stretch | git-annex | Advisory build | 6.20170101-1+deb9u1 | DSA-4010-1 |
| Debian | wheezy | git-annex | Advisory build | 3.20120629+deb7u1 | DLA-1144-1 |
Description
git-annex before 6.20170818 allows remote attackers 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://source.git-annex.branchable.com/?p=source.git%3Ba=blob%3Bf=doc/bugs/dashed_ssh_hostname_security_hole.mdwn
- http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=c24d0f0e8984576654e2be149005bc884fe0403a
- http://source.git-annex.branchable.com/?p=source.git%3Ba=commit%3Bh=df11e54788b254efebb4898b474de11ae8d3b471
- DSA-4010 http://www.debian.org/security/2017/dsa-4010
- [debian-lts-announce] 20180905 [SECURITY] [DLA 1495-1] git-annex security update https://lists.debian.org/debian-lts-announce/2018/09/msg00004.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9052d3104c26960720d7f5d54ac796da52b03cc61e69a1aebf386463d43640a7
- Ingested
- 23 Sep 2026, 07:42:00 UTC
- Source record
- Official CVE record