Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Linux :: Gentoo :: bt-22044.htm

UW IMAP toolkit: Multiple vulnerabilities



UW IMAP toolkit: Multiple vulnerabilities
UW IMAP toolkit: Multiple vulnerabilities



--nextPart12114738.gML3BIv0Qs
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200911-03
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/ 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: UW IMAP toolkit: Multiple vulnerabilities
      Date: November 25, 2009
      Bugs: #245425, #252567
        ID: 200911-03

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======
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.

Background
=========
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.

Affected packages
================
    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  net-libs/c-client       < 2007e                          >= 2007e
  2  net-mail/uw-imap        < 2007e                          >= 2007e
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

Description
==========
Multiple vulnerabilities were found in the UW IMAP toolkit:

* Aron Andersson and Jan Sahlin of Bitsec reported boundary errors in
  the "tmail" and "dmail" utilities when processing overly long mailbox
  names, leading to stack-based buffer overflows (CVE-2008-5005).

* An error in smtp.c in the c-client library was found, leading to a
  NULL pointer dereference vulnerability (CVE-2008-5006).

* Ludwig Nussel reported an off-by-one error in the
  rfc822_output_char() function in the RFC822BUFFER routines in the
  c-client library, as used by the UW IMAP toolkit (CVE-2008-5514).

Impact
=====
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.

Workaround
=========
There is no known workaround at this time.

Resolution
=========
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"

References
=========
  [ 1 ] CVE-2008-5005
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5005 
  [ 2 ] CVE-2008-5006
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5006 
  [ 3 ] CVE-2008-5514
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5514 

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200911-03.xml 

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at 
https://bugs.gentoo.org.

License
======
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5 

--nextPart12114738.gML3BIv0Qs
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iQIcBAABCgAGBQJLDTAyAAoJECaaHo/OfoM5IFAP/3x9aL2RCcHPHpIzmeKaFfWK
XAnYnMLS4192QLTV3MP5yamkCx3RwRPDv0GA3pehilf24cWiEsZTei1ccYaMviH6
2TgcqsQlUGb8PgMONApyRB8YxVNcKTe0G9WED9tjmPYvmSCkNlAoaal3c5AGPkRe
6DmY8uQrLNdJjBaOWuZo9yqrFfQBT1Pm7VrCa7XbTFAyGHbaQEcmonkrzf8zGVbZ
n4oCxQ48i9IIDRIR4cbi1/TE7gNXwoktKfDdXyv62mUeFiSUR/5cB6GMgE11NRTq
TDax9rg74+HeuCmnqd2G/C2iGVv0IKEmqLp47mfBFeUxuZVD382xPhk3ChOus/O1
A/yFI5fYrjIPfuVukfSoD7JHZst9t/zQyU+VC4CvVBptfInOKJmqpX4oKbmP+etk
XbZx8ObvvVctT5U87kUAt5qvHWkGd6E3Ig/B5OZk5zAuBd3LTJSW4I7p/E82FyH5
f2WXJN7IIBhAoo6Rr2zPfuqdrI7Z1LcgMhu+wYdbLtqKssOnTRt69EF+67poh6it
uZDMiwl9T4lpwbwvIwykRb/FSsuuGyXShySPn0bbAWdaeWx3qwVLDrVJMjCxaakc
VBt7c5/pAeTZuRyDil6qNivRAkL9shs9f7Puc7ASuD9aeQYm/xakIVzGjjumNcZp
elXRoepTLH/H8x7kFRlE
=ozOt
-----END PGP SIGNATURE-----

--nextPart12114738.gML3BIv0Qs--


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH