USN-5871-1

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

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: Run `sudo pro fix USN-5871-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: git - 1:2.34.1-1ubuntu1.8 gitweb - 1:2.34.1-1ubuntu1.8 git-gui - 1:2.34.1-1ubuntu1.8 git-daemon-sysvinit - 1:2.34.1-1ubuntu1.8 gitk - 1:2.34.1-1ubuntu1.8 git-all - 1:2.34.1-1ubuntu1.8 git-mediawiki - 1:2.34.1-1ubuntu1.8 git-daemon-run - 1:2.34.1-1ubuntu1.8 git-man - 1:2.34.1-1ubuntu1.8 git-doc - 1:2.34.1-1ubuntu1.8 git-svn - 1:2.34.1-1ubuntu1.8 git-cvs - 1:2.34.1-1ubuntu1.8 git-email - 1:2.34.1-1ubuntu1.8 No subscription required

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:47:22.657Z UTC.

Upstream Advisory

Affected Packages

  • git 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • gitweb 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-gui 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-daemon-sysvinit 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • gitk 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-all 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-mediawiki 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-daemon-run 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-man 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-doc 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-svn 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-cvs 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git-email 1:2.34.1-1ubuntu1.8-1:2.34.1-1ubuntu1.8

  • git 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • gitweb 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-gui 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-daemon-sysvinit 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-el 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • gitk 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-all 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-mediawiki 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-daemon-run 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-man 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-doc 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-svn 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-cvs 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

  • git-email 1:2.25.1-1ubuntu3.10-1:2.25.1-1ubuntu3.10

Interested in being alerted when there are new versions of git and the other packages? Set up an alert.
USN-5871-1: Git vulnerabilities | Package Alert