Gentoo Linux Advisory: cyrus-sasl | Linux Today

Gentoo Linux Advisory: cyrus-sasl

Written By
Web Webster
Web Webster
Dec 29, 2002
- - --------------------------------------------------------------------
GENTOO LINUX SECURITY ANNOUNCEMENT 200212-10
- - --------------------------------------------------------------------

PACKAGE : cyrus-sasl
SUMMARY : buffer overflows
DATE    : 2002-12-27 22:12 UTC
EXPLOIT : remote

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

- From advisory:

"Insufficient buffer length checking in user name canonicalization
may allow attacker to execute arbitrary code on servers using Cyrus 
SASL library. Client side library also has the bug but since the user 
name is asked from the local user, there's probably not many 
applications that care about it, except maybe webmails and the like. 
This overflow only happens if default realm is set."

"LDAP authentication with saslauthd doesn't allocate enough memory 
when it needs to escape characters '*', '(', ')', '' and '' in 
username and realm. This should be easily exploited with glibc's 
malloc implementation."

"Log writer might not have allocated memory for the trailing  in
message. Probably hard to exploit, although you can affect the 
logging data with at least anonymous authentication."

Read the full advisory at
http://marc.theaimsgroup.com/?l=bugtraq&m=103946297703402&w=2

SOLUTION

It is recommended that all Gentoo Linux users who are running
dev-libs/cyrus-sasl-2.1.9 update their systems as follows:

emerge rsync
emerge cyrus-sasl
emerge clean

- - --------------------------------------------------------------------
aliz@gentoo.org - GnuPG key is available at www.gentoo.org/~aliz
raker@gentoo.org
- - --------------------------------------------------------------------

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.