Commit 0c8be6f
committed
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.
* ah/fix-open-with-stdin:
gitk: encode arguments correctly with "open"
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 | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | 460 | | |
471 | 461 | | |
472 | 462 | | |
| |||
528 | 518 | | |
529 | 519 | | |
530 | 520 | | |
531 | | - | |
532 | | - | |
| 521 | + | |
533 | 522 | | |
534 | 523 | | |
535 | 524 | | |
| |||
682 | 671 | | |
683 | 672 | | |
684 | 673 | | |
685 | | - | |
686 | | - | |
687 | | - | |
| 674 | + | |
688 | 675 | | |
689 | 676 | | |
690 | 677 | | |
| |||
10376 | 10363 | | |
10377 | 10364 | | |
10378 | 10365 | | |
10379 | | - | |
| 10366 | + | |
10380 | 10367 | | |
10381 | 10368 | | |
10382 | 10369 | | |
| |||
0 commit comments