Bug 451758 (CVE-2008-2711)

Summary: CVE-2008-2711 fetchmail: Crash in large log messages in verbose mode
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: kreilly, pertusus, vcrhonek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-2711
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-19 16:41:57 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: 452959, 516266, 516267, 516268, 516269, 516270    
Bug Blocks:    

Description Tomas Hoger 2008-06-17 07:42:45 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-2711 to the following vulnerability:

fetchmail 6.3.8 and earlier, when running in -v -v mode, allows remote
attackers to cause a denial of service (crash and persistent mail failure) via
a malformed mail message with long headers, which is not properly handled when
using vsnprintf to format log messages.

References:
http://www.openwall.com/lists/oss-security/2008/06/13/1
http://www.fetchmail.info/fetchmail-SA-2008-01.txt
https://bugzilla.novell.com/show_bug.cgi?id=354291

Comment 2 Tomas Hoger 2008-06-25 06:14:56 UTC
Fetchmail SA-2008-01 was updated on 2008-06-24 to address the same issue in
report_complete(), besides originally reported report_build().

Comment 3 Tomas Hoger 2008-06-26 09:08:25 UTC
This issue can result in fetchmail crash.  Such crash can only be considered a
security issue when fetchmail is run in daemon mode.  However, it's unlikely to
use double verbose mode (-v -v) when running fetchmail in a daemon mode. 
Problem can easily be worked-around by lowering logging verbosity.

With respect to that, this issue was rated as having low security impact, a
future fetchmail update in Red Hat Enterprise Linux may address this flaw.

Note: This issue may not affect all architectures and glibc versions.  Crash was
only confirmed on x86_64 and PPC architectures.

Comment 5 Fedora Update System 2008-06-27 10:39:59 UTC
fetchmail-6.3.8-7.fc9 has been submitted as an update for Fedora 9

Comment 6 Fedora Update System 2008-06-27 10:52:26 UTC
fetchmail-6.3.8-4.fc8 has been submitted as an update for Fedora 8

Comment 7 Fedora Update System 2008-06-28 22:14:57 UTC
fetchmail-6.3.8-7.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-06-28 22:15:19 UTC
fetchmail-6.3.8-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 errata-xmlrpc 2009-09-08 15:20:59 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3
  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2009:1427 https://rhn.redhat.com/errata/RHSA-2009-1427.html