UbuntuUpdates.org

Package "git"

Name: git

Description:

fast, scalable, distributed revision control system

Latest version: 1:2.34.1-1ubuntu1.20
Release: jammy (22.04)
Level: updates
Repository: main
Homepage: https://git-scm.com/

Links


Download "git"


Other versions of "git" in Jammy

Repository Area Version
base main 1:2.34.1-1ubuntu1
base universe 1:2.34.1-1ubuntu1
security main 1:2.34.1-1ubuntu1.20
security universe 1:2.34.1-1ubuntu1.20
updates universe 1:2.34.1-1ubuntu1.20

Packages in group

Deleted packages are displayed in grey.


Changelog

Version: 1:2.34.1-1ubuntu1.20 2026-12-01 20:08:30 UTC

git (1:2.34.1-1ubuntu1.20) jammy-security; urgency=medium

  * SECURITY UPDATE: ANSI escape sequence injection in sideband messages
    - debian/patches/CVE-2024-52005_1.patch: mask control characters in
      sideband.c; add regression test in t/t5409-colorize-remote-messages.sh.
    - debian/patches/CVE-2024-52005_2.patch: add the
      sideband.allowControlCharacters escape hatch in sideband.c; extend
      the regression test.
    - debian/patches/CVE-2024-52005_3.patch: allow ANSI color sequences by
      default in sideband.c while masking other control sequences; update
      regression test in t/t5409-colorize-remote-messages.sh.
    - debian/patches/CVE-2024-52005_4.patch: accept colon-separated SGR color
      subfields in sideband.c.
    - CVE-2024-52005
  * SECURITY UPDATE: Heap buffer overflow during large merges
    - debian/patches/CVE-2026-105437_1.patch: add st_add5() size overflow
      checking helper in git-compat-util.h.
    - debian/patches/CVE-2026-105437_2.patch: compute merge buffer sizes as
      size_t in xdiff/xmerge.c; add adapted EXPENSIVE regression test in
      t/t4300-merge-tree.sh.
    - debian/patches/CVE-2026-105437_3.patch: check each merge buffer size
      addition for overflow in xdiff/xmerge.c.
    - CVE-2026-105437
  * SECURITY UPDATE: Code execution when cloning malicious repositories
    - debian/patches/CVE-2026-111760_1.patch: reject over-long cache entry
      names in read-cache.c and enforce index.maxPathLen in config.c;
      add tests in t/t1600-index.sh.
    - debian/patches/CVE-2026-111760_2.patch: compute cache entry length as
      size_t with checked addition in builtin/checkout.c.
    - debian/patches/CVE-2026-111760_3.patch: compute cache entry size as
      size_t with checked addition in builtin/ls-files.c.
    - debian/patches/CVE-2026-111760_4.patch: add EXPENSIVE over-long tree
      path regression tests in t/t1600-index.sh.
    - CVE-2026-111760

 -- Shafayat Hossain Majumder Mon, 30 Nov 2026 09:02:01 -0500

Source diff to previous version
CVE-2024-52005 Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the
CVE-2026-105437 Affected versions of Git have a heap buffer overflow in the three-way merge code (xdiff), which an attacker can trigger through a repository they con
CVE-2026-111760 Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full acc

Version: 1:2.34.1-1ubuntu1.18 2026-10-21 09:07:36 UTC

git (1:2.34.1-1ubuntu1.18) jammy-security; urgency=medium

  * Fix compatibility with curl security update (LP: #2171054)
    - http-handle-curl-stripping-creds-from-effective-url.patch:
      handle curl stripping creds from effective url in git-curl-compat.h,
      http.c.

 -- Charles Cochran Fri, 16 Oct 2026 10:11:44 -0400

Source diff to previous version
2171054 git clone over HTTP with credentials in the URL fails after curl SRU for CVE-2026-94266 (USN-8932-1): \

Version: 1:2.34.1-1ubuntu1.17 2026-02-28 00:07:45 UTC

  git (1:2.34.1-1ubuntu1.17) jammy-security; urgency=medium

  * SECURITY REGRESSION: Include not respected for protected configuration.
    (LP: #2142790)
    - debian/patches/CVE-2022-24765-fix3.patch: Use config_with_options in
      read_protected_config in config.c.

 -- Hlib Korzhynskyy <email address hidden> Thu, 26 Feb 2026 16:19:53 -0330

Source diff to previous version
2142790 CVE-2022-24765 regression fix broke config includes
CVE-2022-24765 Git for Windows is a fork of Git containing Windows-specific patches. ...

Version: 1:2.34.1-1ubuntu1.16 2026-02-25 21:08:05 UTC

  git (1:2.34.1-1ubuntu1.16) jammy-security; urgency=medium

  * SECURITY REGRESSION: Broken safe.directory access from CVE-2022-24765
    (LP: #2142239)
    - debian/patches/CVE-2022-24765-fix1.patch: Add protected_config,
      read_protected_config, and git_protected_config in config.c, config.h.
      Add upload_pack_protected_config in upload-pack.c. Modify test in
      t/t5544-pack-objects-hook.sh.
    - debian/patches/CVE-2022-24765-fix2.patch: Replace read_very_early_config
      with git_protected_config in setup.c.

 -- Hlib Korzhynskyy <email address hidden> Thu, 19 Feb 2026 15:15:50 -0330

Source diff to previous version
2142239 CVE-2022-24765 regression for setting safe.directory
CVE-2022-24765 Git for Windows is a fork of Git containing Windows-specific patches. ...

Version: 1:2.34.1-1ubuntu1.15 2025-07-11 01:07:10 UTC

  git (1:2.34.1-1ubuntu1.15) jammy-security; urgency=medium

  * SECURITY REGRESSION: Breakage when using gitk and git gui. (LP: #2116251)
    - debian/patches/CVE-2025-27613.patch: Added back.
    - debian/patches/CVE-2025-27613-post1.patch: Change usage of
      safe_open_command_redirect to safe_open_command in some commands in
      gitk-git/gitk.
    - debian/patches/CVE-2025-46835-pre1.patch: Added back.
    - debian/patches/CVE-2025-46835.patch: Added back.
    - debian/patches/CVE-2025-46835-post1: Change git_read to safe_open_command
      in git-gui/git-gui.sh.

 -- Hlib Korzhynskyy <email address hidden> Wed, 09 Jul 2025 17:16:10 -0230

2116251 gitk and git-gui commands are not working after upgrade
CVE-2025-27613 Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when ...
CVE-2025-46835 Git GUI allows you to use the Git source control management tools via ...



About   -   Send Feedback to @ubuntu_updates