USN-3791-1: Git vulnerability

Publication date

12 October 2018

Overview

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


Packages

  • 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.

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

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

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
18.04 bionic git –  1:2.17.1-1ubuntu0.3
16.04 xenial git –  1:2.7.4-0ubuntu1.5
14.04 trusty git –  1:1.9.1-1ubuntu0.9

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›