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 a better tar filter than fully_trusted #107

Open
2 tasks done
dholth opened this issue Oct 4, 2024 · 0 comments
Open
2 tasks done

Use a better tar filter than fully_trusted #107

dholth opened this issue Oct 4, 2024 · 0 comments

Comments

@dholth
Copy link
Contributor

dholth commented Oct 4, 2024

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

Python's relatively-new tar filter feature adjust permissions when extracting from tar. We have a comparable feature for earlier versions of Python that prevents "tar slip" or extracting files outside the root of a tar.

Use a more aggressive "tar" or "data" filter if we can be sure that no packages need the filtered permissions.

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

No branches or pull requests

1 participant