Clam AntiVirus ENSURE_BITS function denial of service

clam-antivirus-ensurebits-dos (21204) The risk level is classified as LowLow Risk

Description:

Clam AntiVirus is vulnerable to a denial of service attack caused by improper validation of user-supplied input in the ENSURE_BITS() function in the libclamav/mspack/mszipd.c. A remote attacker could send a specially-crafted CAB file with a cffile_FolderOffset set to 0xff to cause the program to enter an infinite loop, resulting in a denial of service.

Platforms Affected:

  • Clam Anti-Virus, ClamAV 0.83
  • Clam Anti-Virus, ClamAV prior to 0.86
  • Debian, Debian Linux 3.1

Remedy:

Upgrade to the latest version of Clam AntiVirus (0.86 or later), available from the ClamAV Download Web page. See References.

For Debian GNU/Linux 3.1 (Sarge):
Upgrade to the latest version of clamav (0.84-2.sarge.1 or later), as listed in DSA-737-1. See Reference.

For Conectiva Linux 9.0 and 10.0:
Upgrade to the latest version of clamav (0.86.1 or later), as listed in Conectiva Linux Security Announcement CLSA-2005:973. See References.

As a workaround, follow the instructions as listed in iDEFENSE Security Advisory 06.29.05. See References.

Consequences:

Denial of Service

References:

Reported:

Jun 29, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page