Archive::Zip: Virus detection evasion
Gentoo Linux Security Advisory
||GLSA 200410-31 / Archive::Zip
||October 29, 2004
||May 22, 2006: 02
All supported architectures
Email virus scanning software relying on Archive::Zip can be fooled into
thinking a ZIP attachment is empty while it contains a virus, allowing
Archive::Zip is a Perl module containing functions to handle ZIP
Archive::Zip can be used by email scanning software (like amavisd-new)
to uncompress attachments before virus scanning. By modifying the
uncompressed size of archived files in the global header of the ZIP
file, it is possible to fool Archive::Zip into thinking some files
inside the archive have zero length.
An attacker could send a carefully crafted ZIP archive containing a
virus file and evade detection on some email virus-scanning software
relying on Archive::Zip for decompression.
There is no known workaround at this time.
All Archive::Zip users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-perl/Archive-Zip-1.14"