Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 525
Alerts This Week
Warning Icon 1 525

Ubuntu 22.10 USN-5968-1 Critical: GitPython Command Execution

ubuntu
Calendar Grey March 22, 2023
Scroller Ubuntu
GitPython on Ubuntu may present command execution risks due to weak input sanitization. It is advised to promptly update all affected versions to mitigate these issues
GitPython could me made to execute arbitrary commands on the host.

Summary

GitPython could me made to execute arbitrary commands on the host.

Software Description:

- python-git: Python library to interact with Git repositories

Details:

It was discovered that GitPython did not properly sanitize user inputs for

remote URLs in the clone command. By injecting a maliciously crafted

remote URL, an attacker could possibly use this issue to execute arbitrary

commands on the host.

Update Instructions

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

Ubuntu 22.10:
   python3-git                     3.1.27-1ubuntu0.1

Ubuntu 22.04 ESM:
   python3-git                     3.1.24-1ubuntu0.1~esm1

Ubuntu 20.04 ESM:
   python3-git                     3.0.7-1ubuntu0.1~esm1

Ubuntu 18.04 ESM:
   python-git                      2.1.8-1ubuntu0.1~esm1
   python3-git                     2.1.8-1ubuntu0.1~esm1

Ubuntu 16.04 ESM:
   python-git 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1
   python3-git 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1

Ubuntu 14.04 ESM:
   python-git                      0.3.2~RC1-3ubuntu0.1~esm1

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

References

  https://ubuntu.com/security/notices/USN-5968-1

  CVE-2022-24439

Severity
critical
Lowest
Low
Medium
High
Critical

March 22, 2023

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.