Skip to content

Commit 27fbab4

Browse files
j6tttaylorr
authored andcommitted
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 <[email protected]>
2 parents 4e7e3b7 + 67a128b commit 27fbab4

File tree

1 file changed

+172
-93
lines changed

1 file changed

+172
-93
lines changed

0 commit comments

Comments
 (0)