Buffer overflow while doing GSSAPI authentication

Bug #602623 reported by Mantas Mikulėnas
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mail Notification
New
Undecided
Unassigned

Bug Description

I have configured my IMAP server for GSSAPI (Kerberos) authentication, and I'm trying to use mail-notification with it, but I get this error message (copied from mail-notification -i):

** INFO: <email address hidden> reported an error: unable to encode Base64: overflowed buffer

Full log attached.

Revision history for this message
Mantas Mikulėnas (grawity) wrote :
Revision history for this message
Mantas Mikulėnas (grawity) wrote :

After careful inspection, it seems that the problem occurs in src/mn-client-session.c, when write_base64() is passed a zero-length input buffer. Being new at C, I'm quite sure my quick "fix" may create other problems - but attaching it anyway.

Revision history for this message
Frédéric Crozat (fcrozat) wrote :
Revision history for this message
Aaron Kaplan (5-launchpad5425-aaronkaplan-info) wrote :

This bug is absent when using cyrus-sasl 2.1.22, and present when using cyrus-sasl 2.1.23. It seems likely to be related to this security fix: http://www.kb.cert.org/vuls/id/238019

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.