Ubuntu Security Notice 3243-1 - It was discovered that Git incorrectly sanitized branch names in the PS1 variable when configured to display the repository status in the shell prompt. If a user were tricked into exploring a malicious repository, a remote attacker could use this issue to execute arbitrary code.
512c24325ab2297f40ceab2b5e3b6d8690efd1db5b3b6abc02b3c2420dbfaf4b
===========================================================================
Ubuntu Security Notice USN-3243-1
March 23, 2017
git vulnerability
===========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 14.04 LTS
Summary:
Git could be made to run programs as your login if it explored a specially
crafted repository.
Software Description:
- git: fast, scalable, distributed revision control system
Details:
It was discovered that Git incorrectly sanitized branch names in the PS1
variable when configured to display the repository status in the shell
prompt. If a user were tricked into exploring a malicious repository, a
remote attacker could use this issue to execute arbitrary code.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 14.04 LTS:
git 1:1.9.1-1ubuntu0.4
In general, a standard system update will make all the necessary changes.
References:
http://www.ubuntu.com/usn/usn-3243-1
CVE-2014-9938
Package Information:
https://launchpad.net/ubuntu/+source/git/1:1.9.1-1ubuntu0.4