RedHat: Cyrus SASL format string vulnerability
Posted by LinuxSecurity.com Team   
RedHat Linux These packages fix a possible format-string vulnerability in thedefault logging callback function provided by libsasl.

---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated Cyrus SASL packages available
Advisory ID:       RHSA-2001:150-06
Issue date:        2001-11-02
Updated on:        2001-11-29
Product:           Red Hat Linux
Keywords:          cyrus sasl syslog format string
Cross references:  RHSA-2001:151
Obsoletes:         RHSA-2000:094
---------------------------------------------------------------------

1. Topic:

Updated Cyrus-SASL packages are now available for Red Hat Linux 7, 7.1, and
7.2.  These packages fix a possible format-string vulnerability in the
default logging callback function provided by libsasl.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - alpha, i386

Red Hat Linux 7.1 - alpha, i386, ia64

Red Hat Linux 7.2 - i386

3. Problem description:

The default logging callback function supplied by the Cyrus SASL library
suffers from a format-string vulnerability.  This function is used when a
server which uses Cyrus SASL attempts to set or change a user's secrets.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2001-0869 to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed  (http://bugzilla.Red Hat.com/bugzilla for more info):

43079 - Split CRAM-MD5 and Digest-MD5 from main package

6. RPMs required:

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/cyrus-sasl-1.5.24-22.7.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.0/en/os/alpha/cyrus-sasl-1.5.24-22.7.alpha.rpm 
ftp://updates.Red Hat.com/7.0/en/os/alpha/cyrus-sasl-devel-1.5.24-22.7.alpha.rpm 
ftp://updates.Red Hat.com/7.0/en/os/alpha/cyrus-sasl-gssapi-1.5.24-22.7.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.0/en/os/i386/cyrus-sasl-1.5.24-22.7.i386.rpm 
ftp://updates.Red Hat.com/7.0/en/os/i386/cyrus-sasl-devel-1.5.24-22.7.i386.rpm 
ftp://updates.Red Hat.com/7.0/en/os/i386/cyrus-sasl-gssapi-1.5.24-22.7.i386.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/cyrus-sasl-1.5.24-22.7.src.rpm

alpha: 
ftp://updates.Red Hat.com/7.1/en/os/alpha/cyrus-sasl-1.5.24-22.7.alpha.rpm 
ftp://updates.Red Hat.com/7.1/en/os/alpha/cyrus-sasl-devel-1.5.24-22.7.alpha.rpm 
ftp://updates.Red Hat.com/7.1/en/os/alpha/cyrus-sasl-gssapi-1.5.24-22.7.alpha.rpm

i386: 
ftp://updates.Red Hat.com/7.1/en/os/i386/cyrus-sasl-1.5.24-22.7.i386.rpm 
ftp://updates.Red Hat.com/7.1/en/os/i386/cyrus-sasl-devel-1.5.24-22.7.i386.rpm 
ftp://updates.Red Hat.com/7.1/en/os/i386/cyrus-sasl-gssapi-1.5.24-22.7.i386.rpm

ia64: 
ftp://updates.Red Hat.com/7.1/en/os/ia64/cyrus-sasl-1.5.24-22.7.ia64.rpm 
ftp://updates.Red Hat.com/7.1/en/os/ia64/cyrus-sasl-devel-1.5.24-22.7.ia64.rpm 
ftp://updates.Red Hat.com/7.1/en/os/ia64/cyrus-sasl-gssapi-1.5.24-22.7.ia64.rpm

Red Hat Linux 7.2:

SRPMS: 
ftp://updates.Red Hat.com/7.2/en/os/SRPMS/cyrus-sasl-1.5.24-23.src.rpm

i386: 
ftp://updates.Red Hat.com/7.2/en/os/i386/cyrus-sasl-1.5.24-23.i386.rpm 
ftp://updates.Red Hat.com/7.2/en/os/i386/cyrus-sasl-devel-1.5.24-23.i386.rpm 
ftp://updates.Red Hat.com/7.2/en/os/i386/cyrus-sasl-gssapi-1.5.24-23.i386.rpm 
ftp://updates.Red Hat.com/7.2/en/os/i386/cyrus-sasl-plain-1.5.24-23.i386.rpm 
ftp://updates.Red Hat.com/7.2/en/os/i386/cyrus-sasl-md5-1.5.24-23.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
30c32a428f5873f1113080ca7d1e3d9e 7.0/en/os/SRPMS/cyrus-sasl-1.5.24-22.7.src.rpm
94e2c85aea8c8a56ecdd1458e6c55483 7.0/en/os/alpha/cyrus-sasl-1.5.24-22.7.alpha.rpm
579a18a8967de6ad01a4e49108d29425 7.0/en/os/alpha/cyrus-sasl-devel-1.5.24-22.7.alpha.rpm
227b54d417b2bdd9d810d29956882b13 7.0/en/os/alpha/cyrus-sasl-gssapi-1.5.24-22.7.alpha.rpm
fba1e8f82194b7794d03da1faaed1fea 7.0/en/os/i386/cyrus-sasl-1.5.24-22.7.i386.rpm
26a16a1da3b0333cd904fc840f309ef7 7.0/en/os/i386/cyrus-sasl-devel-1.5.24-22.7.i386.rpm
a61e9339f56a94873eac6f5bbf4a545f 7.0/en/os/i386/cyrus-sasl-gssapi-1.5.24-22.7.i386.rpm
30c32a428f5873f1113080ca7d1e3d9e 7.1/en/os/SRPMS/cyrus-sasl-1.5.24-22.7.src.rpm
94e2c85aea8c8a56ecdd1458e6c55483 7.1/en/os/alpha/cyrus-sasl-1.5.24-22.7.alpha.rpm
579a18a8967de6ad01a4e49108d29425 7.1/en/os/alpha/cyrus-sasl-devel-1.5.24-22.7.alpha.rpm
227b54d417b2bdd9d810d29956882b13 7.1/en/os/alpha/cyrus-sasl-gssapi-1.5.24-22.7.alpha.rpm
fba1e8f82194b7794d03da1faaed1fea 7.1/en/os/i386/cyrus-sasl-1.5.24-22.7.i386.rpm
26a16a1da3b0333cd904fc840f309ef7 7.1/en/os/i386/cyrus-sasl-devel-1.5.24-22.7.i386.rpm
a61e9339f56a94873eac6f5bbf4a545f 7.1/en/os/i386/cyrus-sasl-gssapi-1.5.24-22.7.i386.rpm
0f7d13c61684c38f81dfb913f4f010d4 7.1/en/os/ia64/cyrus-sasl-1.5.24-22.7.ia64.rpm
56f08f9b0fca2d482cd26f3f4c755746 7.1/en/os/ia64/cyrus-sasl-devel-1.5.24-22.7.ia64.rpm
6f6b8af0c68cf5ad6ec2e12d3fa0a90b 7.1/en/os/ia64/cyrus-sasl-gssapi-1.5.24-22.7.ia64.rpm
ff48201d502e5c6ba19de57dd4287a2b 7.2/en/os/SRPMS/cyrus-sasl-1.5.24-23.src.rpm
54678704176484f32ae60feb10231262 7.2/en/os/i386/cyrus-sasl-1.5.24-23.i386.rpm
3327ed5807eb21660bc64f366a531f2a 7.2/en/os/i386/cyrus-sasl-devel-1.5.24-23.i386.rpm
9d5801535277838f3900029201bd1811 7.2/en/os/i386/cyrus-sasl-gssapi-1.5.24-23.i386.rpm
616b94ccd3cfe5f6ba5294610456e975 7.2/en/os/i386/cyrus-sasl-md5-1.5.24-23.i386.rpm
74213a1dd9a79ba68775e6ccf5f7d0c7 7.2/en/os/i386/cyrus-sasl-plain-1.5.24-23.i386.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
     http://www.Red Hat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg 

8. References:
 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0869 
http://www.securityfocus.com/bid/3498


Copyright(c) 2000, 2001 Red Hat, Inc.