USN-3438-1: Git vulnerability

5 October 2017

git vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.04
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS


Git be made to run programs if it processed a specially crafted file.

Software Description

  • git - fast, scalable, distributed revision control system


It was discovered that Git incorrectly handled certain subcommands such as cvsserver. A remote attacker could possibly use this issue via shell metacharacters in modules names to execute arbitrary code.

This update also removes the cvsserver subcommand from git-shell by default.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 17.04
git - 1:2.11.0-2ubuntu0.3
Ubuntu 16.04 LTS
git - 1:2.7.4-0ubuntu1.3
Ubuntu 14.04 LTS
git - 1:1.9.1-1ubuntu0.7

To update your system, please follow these instructions:

In general, a standard system update will make all the necessary changes.