Normal-OJ / Sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[VULN] Zip Bomb Vulnerability

asef18766 opened this issue · comments

Describe the bug
a vulnerability againest zip bomb

To Reproduce
Steps to reproduce the behavior:

  1. create a 10 GB image file with all bit filled with 1
  2. zip it
  3. send it to server

Expected behavior
return 400 as status code

Current Behavior
server crashed and denied connection , with no logs left available

Possible Solution
use unzip -l to check the decompressed size of file