oliver-zehentleitner / maity

uploads: sweep skips files already gone, bounded decoder output

Sign in to report

tsk-vjngsz12930h Open

Two low items from the security team's round 3 on uploads; details go to the coder by DM from the lead.

To do:

  1. The attachment sweep records when a deleted file's bytes are gone and doesn't check it again.
  2. The image decoder's output is bounded in size, and the result's header is checked before it is stored.

Tests for both.