boostsecurityio / lotp

boostsecurityio/lotp
Apache License 2.0
102 stars 6 forks source link

[LOTP] Add unzip #34

Open fproulx-boostsecurity opened 4 months ago

fproulx-boostsecurity commented 4 months ago

Description of the LOTP tool

unzip is a common UNIX utility to decompression *.zip files

zipslip

When used with certain flags it can lead to zip slip (https://security.snyk.io/research/zip-slip-vulnerability)

As documented in man page (https://linux.die.net/man/1/unzip), the -: flag disables security feature added since the early 2000s that would disallow extracting ../ relative paths