Multiple vulnerabilities have been found in the UW IMAP toolkit and the c-client library, the worst of which leading to the execution of arbitrary code.
Package | net-libs/c-client on all architectures |
---|---|
Affected versions | < 2007e |
Unaffected versions | >= 2007e |
Package | net-mail/uw-imap on all architectures |
---|---|
Affected versions | < 2007e |
Unaffected versions | >= 2007e |
The UW IMAP toolkit is a daemon for the IMAP and POP3 network mail protocols. The c-client library provides an API for IMAP, POP3 and other protocols.
Multiple vulnerabilities were found in the UW IMAP toolkit:
A remote attacker could send an e-mail to a destination mailbox name composed of a username and '+' character followed by a long string, possibly leading to the execution of arbitrary code. A local attacker could gain privileges by specifying a long folder extension argument to the tmail or dmail program. Furthermore, a remote attacker could send a specially crafted mail message to the UW IMAP toolkit or another daemon using the c-client library, leading to a Denial of Service. A remote SMTP server could respond to the QUIT command with a close of the TCP connection instead of the expected 221 response code, possibly leading to a Denial of Service.
There is no known workaround at this time.
All c-client library users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-libs/c-client-2007e"
All UW IMAP toolkit users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/uw-imap-2007e"