FreeBSD : clamav -- heap overflow vulnerability (342d2e48-26db-11db-9275-000475abc56f)

This script is Copyright (C) 2006-2013 Tenable Network Security, Inc.


Synopsis :

The remote FreeBSD host is missing one or more security-related
updates.

Description :

Clamav team reports :

A heap overflow vulnerability was discovered in libclamav which could
cause a denial of service or allow the execution of arbitrary code.

The problem is specifically located in the PE file rebuild function
used by the UPX unpacker.

Relevant code from libclamav/upx.c :

memcpy(dst, newbuf, foffset); *dsize = foffset; free(newbuf);

cli_dbgmsg('UPX: PE structure rebuilt from compressed file\n'); return
1;

Due to improper validation it is possible to overflow the above
memcpy() beyond the allocated memory block.

See also :

http://www.clamav.net/security/0.88.4.html
http://www.nessus.org/u?66847564

Solution :

Update the affected packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 22198 (freebsd_pkg_342d2e4826db11db9275000475abc56f.nasl)

Bugtraq ID:

CVE ID: CVE-2006-4018

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now