sbt / io

IO module for sbt
Apache License 2.0
40 stars 45 forks source link

Fixes zip-slip vulnerability #360

Closed eed3si9n closed 10 months ago

eed3si9n commented 10 months ago

Fixes https://github.com/sbt/io/issues/358 Ref https://github.com/codehaus-plexus/plexus-archiver/pull/87

Problem IO.unzip currently has zip-slip vulnerability, which can write arbitrary files on the machine using specially crafted zip archive that holds path traversal file names.

Solution This replicates the fix originally sent to plex-archiver by Snyk Team.