ClamAV: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200704-21 / ClamAV
||April 24, 2007
||April 24, 2007: 01
All supported architectures
Multiple vulnerabilities have been discovered in ClamAV allowing for the
remote execution of arbitrary code.
ClamAV is a GPL virus scanner.
iDefense Labs have reported a stack-based buffer overflow in the
cab_unstore() function when processing negative values in .cab files.
Multiple file descriptor leaks have also been reported in chmunpack.c,
pdf.c and dblock.c when processing .chm files.
A remote attacker could send a specially crafted CHM file to the
scanner, possibly resulting in the remote execution of arbitrary code
with the privileges of the user running ClamAV.
There is no known workaround at this time.
All ClamAV users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-antivirus/clamav-0.90.2"