Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS : git regression (USN-7626-2)

info Nessus Plugin ID 392042

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS / 22.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-7626-2 advisory.

USN-7626-1 fixed vulnerabilities in Git. The update introduced a regression in gitk and git-gui. This update reverts the corresponding fixes for CVE-2025-27613 and CVE-2025-46835 pending further investigation.

We apologize for the inconvenience.

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)


Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://launchpad.net/bugs/2116251

https://ubuntu.com/security/notices/USN-7626-2

Plugin Details

Severity: Info

ID: 392042

File Name: ubuntu_USN-7626-2.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 12/2/2026

Updated: 12/2/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, cpe:/o:canonical:ubuntu_linux:pro:-:lts, p-cpe:/a:canonical:ubuntu_linux:git-all, p-cpe:/a:canonical:ubuntu_linux:git-arch, p-cpe:/a:canonical:ubuntu_linux:git-core, p-cpe:/a:canonical:ubuntu_linux:git-cvs, p-cpe:/a:canonical:ubuntu_linux:git-daemon-run, p-cpe:/a:canonical:ubuntu_linux:git-daemon-sysvinit, p-cpe:/a:canonical:ubuntu_linux:git-el, p-cpe:/a:canonical:ubuntu_linux:git-email, p-cpe:/a:canonical:ubuntu_linux:git-gui, p-cpe:/a:canonical:ubuntu_linux:git-man, p-cpe:/a:canonical:ubuntu_linux:git-mediawiki, p-cpe:/a:canonical:ubuntu_linux:git-svn, p-cpe:/a:canonical:ubuntu_linux:git, p-cpe:/a:canonical:ubuntu_linux:gitk, p-cpe:/a:canonical:ubuntu_linux:gitweb

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 7/9/2025

Vulnerability Publication Date: 7/9/2025

Reference Information

USN: 7626-2