Home / mailingsPDF  

[USN-7626-3] Git regression

Posted on 11 July 2025
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-7626-3
July 10, 2025

git regression
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

USN-7626-1 introduced a regression in Git

Software Description:
- git: fast, scalable, distributed revision control system

Details:

USN-7626-1 fixed vulnerabilities in Git. The updates for CVE-2025-27613
and CVE-2025-46835 caused Gitk and Git GUI to not work properly on Ubuntu
16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS, and
were disabled in USN-7626-2. The problematic updates for the
aforementioned CVEs have now been corrected and reinstated in this update.

We apologize for the inconvenience.

Original advisory details:

Avi Halachmi discovered that Git incorrectly managed file modification
constraints with Gitk. An attacker could possibly use this issue to create
or write to arbitrary files on the system. (CVE-2025-27613)

Avi Halachmi discovered that Git incorrectly handled arguments when
invoking the Gitk utility. If a user were tricked into cloning a malicious
Git repository, an attacker could possibly use this issue to run arbitrary
commands. This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and
Ubuntu 25.04. (CVE-2025-27614)

Johannes Sixt discovered that Git incorrectly managed file modification
constraints with Git GUI. If a user were tricked into editing a file in a
malicious Git repository, an attacker could possibly use this issue to
create or write to arbitrary files on the system. (CVE-2025-46835)

David Leadbeater discovered that Git incorrectly stripped CRLF characters
when editing configuration files. An attacker could possibly use this
issue to execute arbitrary code. (CVE-2025-48384)

David Leadbeater discovered that Git incorrectly handled verification when
fetching remote Git repositories. An attacker could possibly use this
issue to perform protocol injection, leading to arbitrary code execution.
This issue only affected Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04.
(CVE-2025-48385)

David Leadbeater discovered that Git incorrectly handled memory with the
wincred credential helper. An attacker could possibly use this issue to
cause a denial of service. (CVE-2025-48386)

Update instructions:

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

Ubuntu 22.04 LTS
git-gui 1:2.34.1-1ubuntu1.15
gitk 1:2.34.1-1ubuntu1.15

Ubuntu 20.04 LTS
git-gui 1:2.25.1-1ubuntu3.14+esm3
Available with Ubuntu Pro
gitk 1:2.25.1-1ubuntu3.14+esm3
Available with Ubuntu Pro

Ubuntu 18.04 LTS
git-gui 1:2.17.1-1ubuntu0.18+esm4
Available with Ubuntu Pro
gitk 1:2.17.1-1ubuntu0.18+esm4
Available with Ubuntu Pro

Ubuntu 16.04 LTS
git-gui 1:2.7.4-0ubuntu1.10+esm11
Available with Ubuntu Pro
gitk 1:2.7.4-0ubuntu1.10+esm11
Available with Ubuntu Pro

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

References:
https://ubuntu.com/security/notices/USN-7626-3
https://ubuntu.com/security/notices/USN-7626-2
https://ubuntu.com/security/notices/USN-7626-3
https://launchpad.net/bugs/2116251

Package Information:
https://launchpad.net/ubuntu/+source/git/1:2.34.1-1ubuntu1.15

--===============9036206063411571107==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP