Archive of FreeBSD Security general posting, FreeBSD Ports Security Advisory FreeBSD-SA-02:15.cyrus-sasl

12/03/02, FreeBSD Ports Security Advisory FreeBSD-SA-02:15.cyrus-sasl
From: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>

Generated by MHonArc

CSIM Logo WelcomeCourses
Faculty, Student, Staff
Projects and reports
Conferences, workshop and seminars
Laboratories and reasearch facilities
Information related to CSIM
Information non-related to CSIM
Address, map, phone, etc.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

To: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>
Subject: FreeBSD Ports Security Advisory FreeBSD-SA-02:15.cyrus-sasl
From: FreeBSD Security Advisories <security-advisories@FreeBSD.ORG>
Date: Tue, 12 Mar 2002 06:27:58 -0800 (PST)
List-archive: <> (Web Archive)
List-help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-id: <freebsd-security-notifications.FreeBSD.ORG>
List-subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-security-notifications>
List-unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-security-notifications>
Reply-to: postmaster@FreeBSD.ORG
Sender: owner-freebsd-security-notifications@FreeBSD.ORG


FreeBSD-SA-02:15                                           Security Advisory
                                                                FreeBSD, Inc.

Topic:          cyrus-sasl library contains format string vulnerability

Category:       ports
Module:         cyrus-sasl
Announced:      2002-03-12
Credits:        Kari Hurtta <>
Affects:        cyrus-sasl port prior to cyrus-sasl-1.5.24_8
Corrected:      2001-12-09 03:07:36 UTC
FreeBSD only:   NO
CVE:            CAN-2001-0869

I.   Background

Cyrus-SASL is an implementation of RFC 2222 SASL (Simple
Authentication and Security Layer), a method for adding authentication
support to connection based protocols.

II.  Problem Description

Affected versions of the cyrus-sasl port contain a format string
vulnerability.  The format string vulnerability occurs during a call
to the syslog(3) function.

The cyrus-sasl port is not installed by default, nor is it "part of
FreeBSD" as such: it is part of the FreeBSD ports collection, which
contains thousands of third-party applications in a ready-to-install
format. The ports collection shipped with FreeBSD 4.4 is vulnerable
to this problem since it was discovered after its release.

FreeBSD makes no claim about the security of these third-party
applications, although an effort is underway to provide a security
audit of the most security-critical ports.

III. Impact

Malicious remote users may cause an application using cyrus-sasl to
execute arbitrary code with the privileges of the process using the
cyrus-sasl library.  However, there are no known exploits at this
writing, and the author of cyrus-sasl does not believe that this bug
is exploitable.  See the `References' section for more information.

If the cyrus-sasl port is not installed, then your system is not
vulnerable to this problem.  The following command can be used to
determine whether or not the cyrus-sasl port is installed:

# pkg_info -I cyrus-sasl-\*

IV.  Workaround

Deinstall the cyrus-sasl port if you have installed it.

V.   Solution

Do one of the following:

1) Upgrade your entire ports collection and rebuild the port.

2) Deinstall the old port and install a corrected version from the
following directories.


Packages are not automatically generated for the alpha architecture at
this time due to lack of build resources.

3) Download a new port skeleton for cyrus-sasl from:

and use it to rebuild the port.

4) Use the portcheckout utility to automate option (3) above. The
portcheckout port is available in /usr/ports/devel/portcheckout or the
package can be obtained from:

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in the FreeBSD ports collection.

Path                                                             Revision
- -------------------------------------------------------------------------
ports/security/cyrus-sasl/Makefile                                   1.30
ports/security/cyrus-sasl/files/patch-lib::common.c                  1.1
- -------------------------------------------------------------------------

VII.  References

Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see


To Unsubscribe: send mail to
with "unsubscribe freebsd-security-notifications" in the body of the message

Previous message sorted by date: FreeBSD Ports Security Advisory FreeBSD-SA-02:14.pam-pgsql
Next message sorted by date: FreeBSD Ports Security Advisory FreeBSD-SA-02:16.netscape
Previous message sorted by thread: FreeBSD Ports Security Advisory FreeBSD-SA-02:14.pam-pgsql
Next message by thread: FreeBSD Ports Security Advisory FreeBSD-SA-02:16.netscape
Main Index
Thread Index

CSIM home pageWMailAccount managementCSIM LibraryNetwork test toolsSearch CSIM directories
Contact us: Olivier Nicole CSIM    SET    AIT Last update: Jan 2003