Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 561839 - (CVE-2010-0562) CVE-2010-0562 fetchmail: (verbose mode) Heap overflow by formating byte string into its printable representation
CVE-2010-0562 fetchmail: (verbose mode) Heap overflow by formating byte strin...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
Ales Zelinka
http://www.openwall.com/lists/oss-sec...
impact=low,source=oss-security,public...
: Security
Depends On: 561841 561848
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-04 08:54 EST by Jan Lieskovsky
Modified: 2015-07-31 02:24 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-03-29 04:59:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2010-02-04 08:54:44 EST
Heap overflow flaw was found in the way Fetchmail used to 
convert certain byte strings into their printable representation,
when fetchmail was running in the verbose mode. A remote
attacker could use this flaw to cause a denial of service
(fetchmail crash) or, potentially, to execute arbitrary
code with the privileges of the user running fetchmail.

Upstream advisory (mentioning OSS security mailing post,
as upstream Fetchmail one doesn't seem to be working yet):

 [1] http://www.openwall.com/lists/oss-security/2010/02/04/4

Upstream patch (from [1]):

--- a/sdump.c
+++ b/sdump.c
@@ -36,7 +36,7 @@ char *sdump(const char *in, size_t len)
 	if (isprint((unsigned char)in[i])) {
 	    *(oi++) = in[i];
 	} else {
-	    oi += sprintf(oi, "\\x%02X", in[i]);
+	    oi += sprintf(oi, "\\x%02X", (unsigned char)in[i]);
 	}
     }
     *oi = '\0';

(mentioned "r5467" SVN revision doesn't seem to be working for
 me yet).

References:
  http://www.fetchmail.info/fetchmail-SA-2010-01.txt
  http://www.fetchmail.info/
Comment 1 Jan Lieskovsky 2010-02-04 08:58:50 EST
This issue does NOT affect the versions of the fetchmail package,
as shipped with Red Hat Enteprise Linux 3, 4, and 5.

This issue does NOT affect the versions of the fetchmail package,
as shipped with Fedora release of 11 (fetchmail-6.3.9-5.fc11).

This issue affects the version of the fetchmail package,
as shipped with Fedora release of 12 (fetchmail-6.3.11-3.fc12).

Please fix.
Comment 4 Jan Lieskovsky 2010-02-09 04:21:06 EST
This is CVE-2010-0562.
Comment 5 Fedora Update System 2010-02-09 08:52:28 EST
fetchmail-6.3.11-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/fetchmail-6.3.11-4.fc12
Comment 6 Fedora Update System 2010-03-05 22:52:46 EST
fetchmail-6.3.11-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.