OS Command Injection Affecting git-daemon package, versions <2.51.0-150600.3.12.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.02% (4th 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 Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES157-GITDAEMON-12252667
  • published30 Aug 2025
  • disclosed29 Aug 2025

Introduced: 29 Aug 2025

NewCVE-2025-27613  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

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

NVD Description

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

Gitk is a Tcl/Tk based Git history browser. Starting with 1.7.0, when a user clones an untrusted repository and runs gitk without additional command arguments, files for which the user has write permission can be created and truncated. The option Support per-file encoding must have been enabled before in Gitk's Preferences. This option is disabled by default. The same happens when Show origin of this line is used in the main window (regardless of whether Support per-file encoding is enabled or not). This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.

CVSS Base Scores

version 3.1