Skip to content

Known exploited

CVE-2025-48384 on Ubuntu 20.04 LTS: affected packages and fixed versions

13 packages on Ubuntu 20.04 LTS are affected by CVE-2025-48384 (Git Link Following Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on August 25, 2025, with a remediation date of September 15, 2025 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
git 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-all 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-cvs 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-daemon-run 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-daemon-sysvinit 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-el 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-email 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-gui 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-man 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-mediawiki 1:2.25.1-1ubuntu3.14+esm1 High none listed
git-svn 1:2.25.1-1ubuntu3.14+esm1 High none listed
gitk 1:2.25.1-1ubuntu3.14+esm1 High none listed
gitweb 1:2.25.1-1ubuntu3.14+esm1 High none listed

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' git git-all git-cvs git-daemon-run

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade git git-all git-cvs git-daemon-run

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 20.04 LTS carries the fix in the version it already ships.

What it is

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

CVE-2025-48384 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup