Ubuntu Security Notice 2470-1 - Matt Mackall and Augie Fackler discovered that Git incorrectly handled certain filesystem paths. A remote attacker could possibly use this issue to execute arbitrary code if the Git tree is stored in an HFS+ or NTFS filesystem. The remote attacker would need write access to a Git repository that the victim pulls from.
85b950ee8227de6144153e9f9d7593a621bb882118bc9fc9f52fbfc82a0d2838
Content-Disposition: inline
==========================================================================Ubuntu Security Notice USN-2470-1
January 14, 2015
git vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 14.10
- Ubuntu 14.04 LTS
- Ubuntu 12.04 LTS
Summary:
Git could be made to run programs as your login if it received specially
crafted changes from a remote repository.
Software Description:
- git: fast, scalable, distributed revision control system
Details:
Matt Mackall and Augie Fackler discovered that Git incorrectly handled certain
filesystem paths. A remote attacker could possibly use this issue to execute
arbitrary code if the Git tree is stored in an HFS+ or NTFS filesystem. The
remote attacker would need write access to a Git repository that the victim
pulls from.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 14.10:
git 1:2.1.0-1ubuntu0.1
Ubuntu 14.04 LTS:
git 1:1.9.1-1ubuntu0.1
Ubuntu 12.04 LTS:
git 1:1.7.9.5-1ubuntu0.1
After a standard system update you need to set the core.protectHFS and/or
core.protectNTFS Git configuration variables to "true" if you store Git trees
in HFS+ and/or NTFS filesystems. If you host Git trees, setting the
core.protectHFS, core.protectNTFS, and receive.fsckObjects Git configuration
variables to "true" will cause your Git server to reject objects containing
malicious paths intended to overwrite the Git metadata.
References:
http://www.ubuntu.com/usn/usn-2470-1
CVE-2014-9390
Package Information:
https://launchpad.net/ubuntu/+source/git/1:2.1.0-1ubuntu0.1
https://launchpad.net/ubuntu/+source/git/1:1.9.1-1ubuntu0.1
https://launchpad.net/ubuntu/+source/git/1:1.7.9.5-1ubuntu0.1