Bug 504207 - CVE-2009-0688 cyrus-imapd uses sasl_encode64() improperly
CVE-2009-0688 cyrus-imapd uses sasl_encode64() improperly
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 505425 505426 505427 505428
Blocks: CVE-2009-0688
  Show dependency treegraph
Reported: 2009-06-04 15:11 EDT by Vincent Danen
Modified: 2011-05-27 16:39 EDT (History)
7 users (show)

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

Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2009-06-04 15:11:03 EDT
An issue was reported in how cyrus-sasl did not reliably terminate its output from the sasl_encode64() function.  During an audit of programs that use sasl_encode64(), it was found that cyrus-imapd just allocates a large output buffer without any appropriate checks against the size of the input buffer.  The strings in question are not used for anything odd; they are simply copied elsewhere.  This means that we are going to see a crash, leaking some memory to the server, or auth failures.

More information on the issue as originally reported against cyrus-sasl (CVE-2009-0688) is available in bug #487251.
Comment 20 errata-xmlrpc 2009-06-18 13:35:10 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

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

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