Commit 2ee3e4c
committed
FIXME: directory traversal vulnerability in agent codepath
Function Load() could be used to overwrite any files with
user-controlled input of plugin name.
Must do path validation before further procedure of plugin
downlaoding.
Signed-off-by: shenping.matt <shenping.matt@bytedance.com>1 parent 65b7478 commit 2ee3e4c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
| |||
0 commit comments