USN-5968-1

Type: Security
Severity: Medium
Published: 2023-03-22
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

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: Run `sudo pro fix USN-5968-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: python-git-doc - 3.1.24-1ubuntu0.1~esm1 python3-git - 3.1.24-1ubuntu0.1~esm1 Available with Ubuntu Pro: https://ubuntu.com/pro

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:56:58.181Z UTC.

Upstream Advisory

Affected Packages

  • python-git-doc 3.1.24-1ubuntu0.1~esm1-3.1.24-1ubuntu0.1~esm1

  • python3-git 3.1.24-1ubuntu0.1~esm1-3.1.24-1ubuntu0.1~esm1

  • python-git-doc 3.0.7-1ubuntu0.1~esm1-3.0.7-1ubuntu0.1~esm1

  • python3-git 3.0.7-1ubuntu0.1~esm1-3.0.7-1ubuntu0.1~esm1

Interested in being alerted when there are new versions of python-git-doc and the other packages? Set up an alert.
USN-5968-1: GitPython vulnerability | Package Alert