]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'js/fix-open-exec'
authorJohannes Sixt <j6t@kdbg.org>
Wed, 14 May 2025 17:56:27 +0000 (19:56 +0200)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:04:30 +0000 (17:04 -0400)
commit27fbab4898620183e608865beffd960139c04d58
tree67fdd8ea73db990411b1e2709e8e5e49f9262da9
parent4e7e3b792e6973e09de6ddc191b86bbc245c53dd
parent67a128b91e25978a15f9f7e194d81b441d603652
Merge branch 'js/fix-open-exec'

This addresses CVE-2025-27613, Gitk can create and truncate a user's
files:

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).

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
gitk-git/gitk