USN-5076-1: Git vulnerability

Publication date

13 September 2021

Overview

Git incorrectly handled certain repository paths.


Packages

  • git - fast, scalable, distributed revision control system

Details

It was discovered that Git allowed newline characters in
certain repository paths. An attacker could potentially use this issue to perform
cross-protocol requests.

It was discovered that Git allowed newline characters in
certain repository paths. An attacker could potentially use this issue to perform
cross-protocol requests.

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
20.04 focal git –  1:2.25.1-1ubuntu3.2
18.04 bionic git –  1:2.17.1-1ubuntu0.9
16.04 xenial git –  1:2.7.4-0ubuntu1.10+esm1  

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 ›