You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Care must be taken using tarfile to prevent expanding a tar with untrusted members.
Describe the solution you'd like
The tarfile functions extractall() and extract() warn about never extracting archives from untrusted sources without prior inspection. Set filter='data' to prevent the most dangerous security issues, and read the Extraction filters section for details.
Is your feature request related to a problem? Please describe.
Care must be taken using tarfile to prevent expanding a tar with untrusted members.
Describe the solution you'd like
The tarfile functions
extractall()
andextract()
warn about never extracting archives from untrusted sources without prior inspection. Set filter='data' to prevent the most dangerous security issues, and read the Extraction filters section for details.Describe alternatives you've considered
n/a
Additional context
Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.
The text was updated successfully, but these errors were encountered: