Commit f3fbfed
committed
Fix command injection vulnerability in utility_manager.py
Replaced `subprocess.call(['start', filename], shell=True)` with `os.startfile(filename)` to prevent arbitrary command execution via maliciously crafted filenames on Windows.1 parent 2a47494 commit f3fbfed
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments