[原文]The c-client library in Internet Message Access Protocol (IMAP) dated before 2002 RC2, as used by Pine 4.20 through 4.44, allows remote attackers to cause a denial of service (client crash) via a MIME-encoded email with Content-Type header containing an empty boundary field.
It has been reported that using the source code attained from ftp://ftp.cac.washington.edu/imap/imap-2002.RC2.tar.Z in place of the IMAP source code contained in the Pine distribution, and rebuilding pine will fix this vulnerability. The report suggests that replacing the code contained in the imap directory of pine with that from the above link, changing the value SET_DISABLEAUTOMATICSHAREDNAMESPACES to SET_DISABLEAUTOSHAREDNS in pine/pine.c, and rebuilding the client will rectify this issue.
Pine 4.x Empty MIME Boundary Denial Of Service Vulnerability (EDBID:21644)
Pine is an open source mail user agent distributed by the University of Washington. It is freely available for Unix, Linux, and Microsoft Operating Systems.
When a mail is received by pine that contains MIME content, and the value of the MIME boundary is blank, pine becomes unstable. This vulnerability has been discovered to cause a core dump in the pine client, and could be used to deny service to legitimate users of the client.
Sending an email to a pine user containing MIME content with the following fields set as specified will cause the crash:
Content-Type: multipart/mixed; boundary=""