CVE-2017-12976

This commit is contained in:
Joey Hess 2017-08-20 16:50:53 -04:00
parent e0d88e2d25
commit c76ba5a15e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,7 @@ git-annex (6.20170818) unstable; urgency=high
would get passed to ssh and be treated an option. This could would get passed to ssh and be treated an option. This could
be used by an attacker who provides a crafted repository url be used by an attacker who provides a crafted repository url
to cause the victim to execute arbitrary code via -oProxyCommand. to cause the victim to execute arbitrary code via -oProxyCommand.
CVE-2017-12976
(The same class of security hole recently affected git itself.) (The same class of security hole recently affected git itself.)
* git-annex.cabal: Deal with breaking changes in Cabal 2.0. * git-annex.cabal: Deal with breaking changes in Cabal 2.0.
* Fix build with QuickCheck 2.10. * Fix build with QuickCheck 2.10.

View file

@ -19,6 +19,8 @@ This was fixed in version 6.20170818. Now there's a SshHost type that
is not allowed to start with a dash, and every invocation of ssh is is not allowed to start with a dash, and every invocation of ssh is
in a function that takes a SshHost. in a function that takes a SshHost.
CVE-2017-12976 has been assigned for this issue.
[[done]] [[done]]
--[[Joey]] --[[Joey]]

View file

@ -3,7 +3,7 @@ recommended. Attacks using this security hole will involve the attacker
either providing a ssh repository url to the user, or the user pulling from either providing a ssh repository url to the user, or the user pulling from
a git-annex repository provided by an attacker and then running `git annex a git-annex repository provided by an attacker and then running `git annex
enableremote`. For details about the security hole, see enableremote`. For details about the security hole, see
[[bugs/dashed_ssh_hostname_security_hole]]. [[bugs/dashed_ssh_hostname_security_hole]]. CVE-2017-12976
git-annex 6.20170818 released with [[!toggle text="these changes"]] git-annex 6.20170818 released with [[!toggle text="these changes"]]
[[!toggleable text=""" [[!toggleable text="""