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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git-annex | 6.20170818-1 | — |
| Debian 13 | git-annex | 6.20170818-1 | — |
| Debian 12 | git-annex | 6.20170818-1 | — |
| Debian 9 | git-annex | 6.20170101-1+deb9u1 | DSA-4010-1 |
| Debian 8 | git-annex | 5.20141125+deb8u1 | DSA-4010-1, DLA-1495-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | git-annex | 3.20120629+deb7u1 | DLA-1144-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | git-annex | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Hackage | git-annex | < 6.20170818 | 6.20170818 | HSEC-2023-0009 |
Advisories 3
- DSA-4010-1 git-annex - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1495-1 git-annex - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1144-1 git-annex - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20180905 [SECURITY] [DLA 1495-1] git-annex security update mailing-list
- 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 vendor-advisory
- http://source.git-annex.branchable.com/?p=source.git%3Ba=blob%3Bf=doc/bugs/dashed_ssh_hostname_security_hole.mdwn