Gentoo Logo

Archive::Zip: Virus detection evasion

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200410-31 / Archive::Zip
Release Date October 29, 2004
Latest Revision May 22, 2006: 02
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-perl/Archive-Zip < 1.14 >= 1.14 All supported architectures

Related bugreports: #68616

Synopsis

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.

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

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"

4.  References



Print

Page updated October 29, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.