Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path traversal bug #121

Merged
merged 4 commits into from
Nov 28, 2021
Merged

Fix path traversal bug #121

merged 4 commits into from
Nov 28, 2021

Conversation

sa7mon
Copy link
Owner

@sa7mon sa7mon commented Nov 28, 2021

Fixes #122 by adding is_safe_file_to_download(). This method compares the full resolved path of the file to be downloaded against the folder it should be saved into to verify the file will end up inside the folder. If not, the file is skipped and the user is informed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVE-2021-32061: Path Traversal via dump of malicious bucket
1 participant