Bug 97342 (CAN-2003-0279)

Summary: CAN-2003-0279 c-client imap client
Product: Red Hat Enterprise Linux 2.1 Reporter: Mark J. Cox <mjc>
Component: pineAssignee: Mike A. Harris <mharris>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 2.1CC: k.georgiou
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://marc.theaimsgroup.com/?l=bugtraq&m=105294024124163
Whiteboard: impact=low,public=20030514
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-12 18:40:03 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:
Bug Depends On:    
Bug Blocks: 132992    
Attachments:
Description Flags
Proposed patch based on code in imap-2002c none

Description Mark J. Cox 2003-06-13 13:04:36 UTC
CAN-2003-0297 found by bugtraq May14

c-client IMAP Client, as used in imap-2002b and Pine 4.53, allows
remote malicious IMAP servers to cause a denial of service (crash) and
possibly execute arbitrary code via certain large (1) literal and (2)
mailbox size values that cause either integer signedness errors or
integer overflow errors.

http://marc.theaimsgroup.com/?l=bugtraq&m=105294024124163&w=2

Not yet investigated impact on Red Hat Linux (does this affect earlier versions
of Pine?).

Comment 1 Mark J. Cox 2004-12-03 10:52:41 UTC
This affects RHEL2.1 and can allow a remote IMAP server the ability to
crash Pine.

Comment 2 Mark J. Cox 2004-12-03 10:53:34 UTC
Created attachment 107825 [details]
Proposed patch based on code in imap-2002c

Comment 3 Mark J. Cox 2004-12-03 10:54:36 UTC
I've attached a patch, however there is similar code in
imap_parse_extension that isn't fixed that looks like it could do with
the same fix at first glance (if so then we need to fix imap-2002d as
in RHEL3 as well).

Comment 4 Mark J. Cox 2004-12-14 12:29:17 UTC
For U7

Comment 6 Mike A. Harris 2004-12-21 11:57:11 UTC
This issue should now be resolved in pine-4.44-20, currently in
QA testing.  Setting bug to "MODIFIED" state.

Comment 7 Josh Bressers 2005-01-12 18:40:04 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-015.html