Link Following Affecting gitk package, versions <2.51.0-150600.3.12.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Attacked
EPSS
4.08% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-GITK-12253006
  • published30 Aug 2025
  • disclosed29 Aug 2025

Introduced: 29 Aug 2025

NewCVE-2025-48384  (opens in a new tab)
CWE-59  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 gitk to version 2.51.0-150600.3.12.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitk package and not the gitk package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1