Clam AntiVirus: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200909-04 / clamav
||September 09, 2009
||September 09, 2009: 01
All supported architectures
Multiple vulnerabilities in ClamAV allow for the remote execution of
arbitrary code or Denial of Service.
Clam AntiVirus (short: ClamAV) is an anti-virus toolkit for UNIX,
designed especially for e-mail scanning on mail gateways.
Multiple vulnerabilities have been found in ClamAV:
vendor reported a Divide-by-zero error in the PE ("Portable
Executable"; Windows .exe) file handling of ClamAV
- Jeffrey Thomas Peckham found a flaw in
libclamav/untar.c, possibly resulting in an infinite loop when
processing TAR archives in clamd and clamscan (CVE-2009-1270).
- Martin Olsen reported a vulnerability in the CLI_ISCONTAINED macro
in libclamav/others.h, when processing UPack archives
- Nigel disclosed a stack-based buffer overflow
in the "cli_url_canon()" function in libclamav/phishcheck.c when
processing URLs (CVE-2009-1372).
A remote attacker could entice a user or automated system to process a
specially crafted UPack archive or a file containing a specially
crafted URL, possibly resulting in the remote execution of arbitrary
code with the privileges of the user running the application, or a
Denial of Service. Furthermore, a remote attacker could cause a Denial
of Service by supplying a specially crafted TAR archive or PE
executable to a Clam AntiVirus instance.
There is no known workaround at this time.
All Clam AntiVirus users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-antivirus/clamav-0.95.2"