USN-3791-1: Git vulnerability

12 October 2018

git vulnerability

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

  • Ubuntu 18.04 LTS
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

Git could be made to run programs as your login if it recursively opened a malicious git repository.

Software Description

  • git - fast, scalable, distributed revision control system

Details

It was discovered that git did not properly validate git submodule urls or paths. A remote attacker could possibly use this to craft a git repository that causes arbitrary code execution when recursive operations are used.

Update instructions

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

Ubuntu 18.04 LTS
git - 1:2.17.1-1ubuntu0.3
Ubuntu 16.04 LTS
git - 1:2.7.4-0ubuntu1.5
Ubuntu 14.04 LTS
git - 1:1.9.1-1ubuntu0.9

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