Evolution: User-assisted remote execution of arbitrary code

Security Team  Contact Address

Updated November 06, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-04 / evolution-data-server
Release Date November 06, 2007
Latest Revision November 06, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
gnome-extra/evolution-data-server < 1.10.3.1 >= 1.10.3.1 All supported architectures

Related bugreports: #190861

Synopsis

The IMAP client of Evolution contains a vulnerability potentially leading to the execution of arbitrary code.

2.  Impact Information

Background

Evolution is the mail client of the GNOME desktop environment. Camel is the Evolution Data Server module that handles mail functions.

Description

The imap_rescan() function of the file camel-imap-folder.c does not properly sanitize the "SEQUENCE" response sent by an IMAP server before being used to index arrays.

Impact

A malicious or compromised IMAP server could trigger the vulnerability and execute arbitrary code with the permissions of the user running Evolution.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

Note that this GLSA addresses the same issue as GLSA 200707-03, but for the 1.10 branch of Evolution Data Server.

All Evolution users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=gnome-extra/evolution-data-server-1.10.3.1"

4.  References