]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ah/fix-open-with-stdin'
authorJohannes Sixt <j6t@kdbg.org>
Tue, 8 Jul 2025 18:46:24 +0000 (20:46 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 8 Jul 2025 18:48:25 +0000 (20:48 +0200)
This addresses CVE-2025-27614, Arbitrary command execution with Gitk:

A Git repository can be crafted in such a way that with some social
engineering a user who has cloned the repository can be tricked into
running any script (e.g., Bourne shell, Perl, Python, ...) supplied by
the attacker by invoking `gitk filename`, where `filename` has a
particular structure. The script is run with the privileges of the user.

* ah/fix-open-with-stdin:
  gitk: encode arguments correctly with "open"

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
1  2 
gitk

diff --cc gitk
Simple merge