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 vulnerability when extracting tar files #106

Merged

Conversation

heck-gd
Copy link
Contributor

@heck-gd heck-gd commented Jul 4, 2023

Followup to #96. This popped up during the internal review for the feature, but we forgot to upstream it.

Unlike zipfile, tarfile's extractall does not check if a member
is going to be written outside of the specified destination path,
so it needs to be checked manually.
@salehmuhaysin salehmuhaysin merged commit 4602e0e into DFIRKuiper:master Nov 18, 2023
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.

None yet

2 participants