Bug 495039 (CVE-2009-1371, CVE-2009-1372)

Summary: clamav: security fixes in upstream 0.95.1 (CVE-2009-1371, CVE-2009-1372)
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: herrold, redhat-bugzilla, rh-bugzilla, steve, yersinia.spiros
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-29 07:57:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Hoger 2009-04-09 10:13:48 UTC
Upstream clamav version 0.95.1 seems to fix two bugs that may cause clamscan / clamd to crash when scanning certain inputs:

Crash when scanning a malformed file packed with UPack

Upstream bug:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1552


cli_url_canon buffer overflow (this only seems to affect 0.95.x)

Upstream bug:
https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1553


Both fixed upstream in:
svn diff -c 5032 http://svn.clamav.net/svn/clamav-devel/

Comment 1 Robert Scheck 2009-04-10 21:41:21 UTC
Package: clamav-0.95.1-1.fc11 Tag: dist-f11 Status: complete Built by: robert

1963 (clamav): Build on target fedora-5-epel succeeded.
1965 (clamav): Build on target fedora-4-epel succeeded.

Comment 2 Tomas Hoger 2009-04-24 07:03:08 UTC
CVE-2009-1371:
The CLI_ISCONTAINED macro in libclamav/others.h in ClamAV before
0.95.1 allows remote attackers to cause a denial of service
(application crash) via a malformed file with UPack encoding.

CVE-2009-1372
Stack-based buffer overflow in the cli_url_canon function in
libclamav/phishcheck.c in ClamAV before 0.95.1 allows remote attackers
to cause a denial of service (application crash) and possibly execute
arbitrary code via a crafted URL.

Comment 3 Tomas Hoger 2009-09-09 18:01:08 UTC
*** Bug 522157 has been marked as a duplicate of this bug. ***