Archive::Zip: Virus detection evasion — GLSA 200410-31

Email virus scanning software relying on Archive::Zip can be fooled into thinking a ZIP attachment is empty while it contains a virus, allowing detection evasion.

Affected packages

dev-perl/Archive-Zip on all architectures
Affected versions < 1.14
Unaffected versions >= 1.14

Background

Archive::Zip is a Perl module containing functions to handle ZIP archives.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Archive::Zip users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-perl/Archive-Zip-1.14"

References

Release date
October 29, 2004

Latest revision
May 22, 2006: 02

Severity
low

Exploitable
remote

Bugzilla entries