The sendmail program in Xmail is vulnerable to a buffer overflow, potentially resulting in local privilege escalation.
|Package||mail-mta/xmail on all architectures|
|Affected versions||< 1.22|
|Unaffected versions||>= 1.22|
Xmail is an Internet and intranet mail server.
iDEFENSE reported that the AddressFromAtPtr function in the sendmail program fails to check bounds on arguments passed from other functions, and as a result an exploitable stack overflow condition occurs when specifying the "-t" command line option.
A local attacker can make a malicious call to sendmail, potentially resulting in code execution with elevated privileges.
There is no known workaround at this time.
All Xmail users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=mail-mta/xmail-1.22"
December 14, 2005
December 14, 2005: 01