[arch-security] [ASA-201708-6] git: arbitrary command execution
Remi Gacogne
rgacogne at archlinux.org
Mon Aug 14 16:28:11 UTC 2017
Arch Linux Security Advisory ASA-201708-6
=========================================
Severity: Critical
Date : 2017-08-12
CVE-ID : CVE-2017-1000117
Package : git
Type : arbitrary command execution
Remote : Yes
Link : https://security.archlinux.org/AVG-377
Summary
=======
The package git before version 2.14.1-1 is vulnerable to arbitrary
command execution.
Resolution
==========
Upgrade to 2.14.1-1.
# pacman -Syu "git>=2.14.1-1"
The problem has been fixed upstream in version 2.14.1.
Workaround
==========
None.
Description
===========
A security issue has been found in git < 2.14.1. 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.
Impact
======
A remote attacker can execute arbitrary command on the affected host by
tricking a user into executing a git command.
References
==========
https://lkml.org/lkml/2017/8/10/757
https://security.archlinux.org/CVE-2017-1000117
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20170814/0b4a50c7/attachment.asc>
More information about the arch-security
mailing list