Commit 4e7e3b7
Merge branch 'ah/fix-open-with-stdin'
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.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>1 file changed
+3
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 356 | | |
367 | 357 | | |
368 | 358 | | |
| |||
424 | 414 | | |
425 | 415 | | |
426 | 416 | | |
427 | | - | |
428 | | - | |
| 417 | + | |
429 | 418 | | |
430 | 419 | | |
431 | 420 | | |
| |||
578 | 567 | | |
579 | 568 | | |
580 | 569 | | |
581 | | - | |
582 | | - | |
583 | | - | |
| 570 | + | |
584 | 571 | | |
585 | 572 | | |
586 | 573 | | |
| |||
10258 | 10245 | | |
10259 | 10246 | | |
10260 | 10247 | | |
10261 | | - | |
| 10248 | + | |
10262 | 10249 | | |
10263 | 10250 | | |
10264 | 10251 | | |
| |||
0 commit comments