-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As reported by `bandit` B202 handler, the `tarfile.extractall()` method is not safe with some file paths. We previously ignored this handler, and decided to handle things in the `e3.archive` module now. The `tarfile.data_filter()` is now used when it exists, and a fallback handling absolute paths and traversal paths has been created. Ref: #694
- Loading branch information
1 parent
e9800c8
commit 31ee075
Showing
3 changed files
with
120 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters