Skip to content

CVE-2018-1002207 Arbitrary File Write via Archive Extraction in mholt/archiver

MediumCVSS 5.5 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

Description

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Affected products

ProductAffected versionsFixed in
mholt github.com/mholt/archiver(Go) < 2.1.0 2.1.0
mholt github.com/mholt/archiver(Go) < 2.1.0+incompatible 2.1.0+incompatible
archiver project archiver <= 2.0 No fix listed
golang archiver < e4ef56d48eb029648b0e895bb0b6a393ef0829c3 e4ef56d48eb029648b0e895bb0b6a393ef0829c3

References