USN-5871-1: Git vulnerabilities

Publication date

14 February 2023

Overview

Several security issues were fixed in Git.


Packages

  • git - fast, scalable, distributed revision control system

Details

It was discovered that Git incorrectly handled certain repositories.
An attacker could use this issue to make Git uses its local
clone optimization even when using a non-local transport.
(CVE-2023-22490)

Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to overwrite a patch outside
the working tree. (CVE-2023-23946)

It was discovered that Git incorrectly handled certain repositories.
An attacker could use this issue to make Git uses its local
clone optimization even when using a non-local transport.
(CVE-2023-22490)

Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to overwrite a patch outside
the working tree. (CVE-2023-23946)

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
22.10 kinetic git –  1:2.37.2-1ubuntu1.4
22.04 jammy git –  1:2.34.1-1ubuntu1.8
20.04 focal git –  1:2.25.1-1ubuntu3.10
18.04 bionic git –  1:2.17.1-1ubuntu0.16
16.04 xenial git –  1:2.7.4-0ubuntu1.10+esm5  

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 ›