mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
Fix path traversal on mod upload
Fix possibility of a maliciously crafted mod being written outside of the mods directory and thus possibily overwriting unrelated files.
This commit is contained in:
1 parent
94cb607930
commit
1095d2466d
4 files changed
+27
-2
No files matched your search
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "../bad_path_mod",
|
||||
"version": "1.0.0",
|
||||
"title": "Path Traversing Mod",
|
||||
"author": "Me",
|
||||
"description": "A mod who's name traverses the filesystem",
|
||||
"factorio_version": "1.1",
|
||||
"dependencies": []
|
||||
}
|
||||
Reference in new issue
Block a user