---
title: 'USN-5511-1: Git vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-5511-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-5511-1

---

# USN-5511-1: Git vulnerabilities

Publication date

13 July 2022

Overview

Git could be made to run arbitrary commands as an administrator
if it received specially crafted inputs.

Releases

[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[21.10](https://ubuntu.com/security/notices?release=impish)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)
[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)

---

Open side navigation

## Packages

* [git](https://ubuntu.com/security/cves?package=git) - fast, scalable, distributed revision control system

## Details

Carlo Marcelo Arenas Belón discovered that an issue related to [CVE-2022-24765](https://ubuntu.com/security/CVE-2022-24765)
still affected Git. An attacker could possibly use this issue to
run arbitrary commands as administrator. ([CVE-2022-29187](https://ubuntu.com/security/CVE-2022-29187))

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 22.04 LTS jammy | [git](https://launchpad.net/ubuntu/+source/git) –  [1:2.34.1-1ubuntu1.4](https://launchpad.net/ubuntu/+source/git/1:2.34.1-1ubuntu1.4) | | |
| 21.10 impish | [git](https://launchpad.net/ubuntu/+source/git) –  [1:2.32.0-1ubuntu1.3](https://launchpad.net/ubuntu/+source/git/1:2.32.0-1ubuntu1.3) | | |
| 20.04 LTS focal | [git](https://launchpad.net/ubuntu/+source/git) –  [1:2.25.1-1ubuntu3.5](https://launchpad.net/ubuntu/+source/git/1:2.25.1-1ubuntu3.5) | | |
| 18.04 LTS bionic | [git](https://launchpad.net/ubuntu/+source/git) –  [1:2.17.1-1ubuntu0.12](https://launchpad.net/ubuntu/+source/git/1:2.17.1-1ubuntu0.12) | | |

---

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

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2022-29187](https://ubuntu.com/security/CVE-2022-29187)
