USN-3438-1: Git vulnerability

Ubuntu Security Notice USN-3438-1

5th 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

Summary

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

Software description

  • git - fast, scalable, distributed revision control system

Details

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 version:

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: https://wiki.ubuntu.com/Security/Upgrades.

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

References

CVE-2017-14867