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

Use filter arg in tarfile.extractall to prevent unsafe unarchival operations #2722

Merged
merged 4 commits into from
May 10, 2024

Conversation

thehomebrewnerd
Copy link
Contributor

@thehomebrewnerd thehomebrewnerd commented May 9, 2024

Closes #2723

The filter argument was added in these Python versions: 3.9.17, 3.10.12, 3.11.4, 3.12.0. If the user is running an older Python version an error will be thrown and they will need to upgrade to one of these patch releases (or newer) to extract the archive.

Copy link
Contributor

@jeremyliweishih jeremyliweishih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

docs/source/release_notes.rst Show resolved Hide resolved
@thehomebrewnerd thehomebrewnerd merged commit 5b37bd8 into main May 10, 2024
31 checks passed
@thehomebrewnerd thehomebrewnerd deleted the read-entityset-improvement branch May 10, 2024 14:59
@thehomebrewnerd thehomebrewnerd mentioned this pull request May 14, 2024
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.

Add filter arg to tarfile.extractall call to safely deserialize entitysets
2 participants