Skip to content

Fix ZIP bomb threshold too low #13967

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

Merged
merged 5 commits into from
Jun 21, 2023
Merged

Fix ZIP bomb threshold too low #13967

merged 5 commits into from
Jun 21, 2023

Conversation

miohtama
Copy link
Contributor

@miohtama miohtama commented Jun 20, 2023

The current 10x ratio check prevents uploading legit wheels containing files like JSON, interface description and binaries.

See #13962

Bumping from 10x compression threshold to 100x as I assume "100x should be enough for everyone". Note that this should be a temporary solution, as the ZIP bomb check could be more robust.

@miohtama miohtama requested a review from a team as a code owner June 20, 2023 09:12
Set threshold to 100x
@miketheman miketheman requested review from dstufft and ewdurbin June 20, 2023 09:45
@ewdurbin ewdurbin enabled auto-merge (squash) June 21, 2023 13:54
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.

2 participants