Security Advisory Updated openldap packages available for iSeries and pSeries

Advisory: RHSA-2003:208-05
Type: Security Advisory
Severity: N/A
Issued on: 2003-07-07
Last updated on: 2003-07-07
Affected Products: Red Hat Linux 7.1 for iSeries
Red Hat Linux 7.1 for pSeries
OVAL: N/A
CVEs (cve.mitre.org): CVE-2002-1378
CVE-2002-1379
CVE-2002-1508

Details

Updated openldap packages are available which fix a number of local and
remote buffer overflows in libldap, and in the slapd and slurpd servers, as
well as fixing potential issues stemming from using user-specified LDAP
configuration files.

OpenLDAP is a suite of LDAP (Lightweight Directory Access Protocol)
applications and development tools. LDAP is a set of protocols for
accessing directory services. In an audit of OpenLDAP by SuSE, a number of
potential security issues were found:

When reading configuration files, libldap reads the current user's
.ldaprc file -- even in applications running with elevated privileges.

Slurpd overflows an internal buffer if the command line argument used
with the -t or -r flags is too long, or if the name of a file for which it
attempts to create an advisory lock is too long.

When parsing filters, the getfilter family of functions from libldap could
be made to overflow an internal buffer by supplying a carefully crafted
ldapfilter.conf file.

When processing LDAP entry display templates, libldap could be made to
overflow an internal buffer by supplying a properly crafted
ldaptemplates.conf file.

When parsing an access control list, slapd could be made to overflow an
internal buffer.

When constructing the name of the file used for logging rejected
replication requests, slapd overflows an internal buffer if the size
of the generated name is too large, and could be tricked into destroying
the contents of any file owned by the ldap user due to a race condition in
the subsequent creation of the log file.

Red Hat Linux users who use LDAP are advised to install the updated
openldap packages which are not vulnerable to these issues.


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.

Updated packages

Red Hat Linux 7.1 for iSeries

SRPMS:
ftp://updates.redhat.com/7.1/en/os/iSeries/SRPMS/openldap-2.0.27-3.7.1.0p.src.rpm
Missing file
    22427c2c91f80764bb5ba9aad17098b2
ftp://updates.redhat.com/7.1/en/os/iSeries/SRPMS/openldap12-1.2.13-8.src.rpm
Missing file
    92d8d3db8064d35faab46b59c077251d
 
iSeries:
ftp://updates.redhat.com/7.1/en/os/iSeries/ppc/openldap-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    cd873569c2d903317df152d248fcb720
ftp://updates.redhat.com/7.1/en/os/iSeries/ppc/openldap-clients-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    29b067beb491cc89b05c649e194bcb3a
ftp://updates.redhat.com/7.1/en/os/iSeries/ppc/openldap-devel-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    d5d54b63c1c48476eec9bb7fc1c3e747
ftp://updates.redhat.com/7.1/en/os/iSeries/ppc/openldap-servers-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    730cef82fca322aa2fc9ea5d15483f2c
ftp://updates.redhat.com/7.1/en/os/iSeries/ppc/openldap12-1.2.13-8.ppc.rpm
Missing file
    ed3921070a4f7b93819b4f5c88943527
 
Red Hat Linux 7.1 for pSeries

SRPMS:
ftp://updates.redhat.com/7.1/en/os/pSeries/SRPMS/openldap-2.0.27-3.7.1.0p.src.rpm
Missing file
    22427c2c91f80764bb5ba9aad17098b2
ftp://updates.redhat.com/7.1/en/os/pSeries/SRPMS/openldap12-1.2.13-8.src.rpm
Missing file
    92d8d3db8064d35faab46b59c077251d
 
pSeries:
ftp://updates.redhat.com/7.1/en/os/pSeries/ppc/openldap-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    cd873569c2d903317df152d248fcb720
ftp://updates.redhat.com/7.1/en/os/pSeries/ppc/openldap-clients-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    29b067beb491cc89b05c649e194bcb3a
ftp://updates.redhat.com/7.1/en/os/pSeries/ppc/openldap-devel-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    d5d54b63c1c48476eec9bb7fc1c3e747
ftp://updates.redhat.com/7.1/en/os/pSeries/ppc/openldap-servers-2.0.27-3.7.1.0p.ppc.rpm
Missing file
    730cef82fca322aa2fc9ea5d15483f2c
ftp://updates.redhat.com/7.1/en/os/pSeries/ppc/openldap12-1.2.13-8.ppc.rpm
Missing file
    ed3921070a4f7b93819b4f5c88943527
 

References


Keywords

.ldaprc, buffer, openldap, overflow, setuid


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/