RHEL 2.1 : nss_ldap (RHSA-2002:180)

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing a security update.

Description :

Updated nss_ldap packages are now available for Red Hat Linux Advanced
Server 2.1. These updates fix a potential buffer overflow which can
occur when nss_ldap is set to configure itself using information
stored in DNS as well as a format string bug in logging functions used
in pam_ldap.

[Updated 09 Jan 2003] Added fixed packages for the Itanium (IA64)
architecture.

[Updated 06 Feb 2003] Added fixed packages for Advanced Workstation
2.1

nss_ldap is a set of C library extensions that allow X.500 and LDAP
directory servers to be used as a primary source of aliases, ethers,
groups, hosts, networks, protocols, users, RPCs, services, and shadow
passwords (instead of or in addition to using flat files or NIS).

When versions of nss_ldap prior to nss_ldap-198 are configured without
a value for the 'host' setting, nss_ldap will attempt to configure
itself by using SRV records stored in DNS. When parsing the results of
the DNS query, nss_ldap does not check that data returned by the
server will fit into an internal buffer, leaving it vulnerable to a
buffer overflow The Common Vulnerabilities and Exposures project has
assigned the name CVE-2002-0825 to this issue.

When versions of nss_ldap prior to nss_ldap-199 are configured without
a value for the 'host' setting, nss_ldap will attempt to configure
itself by using SRV records stored in DNS. When parsing the results of
the DNS query, nss_ldap does not check that the data returned has not
been truncated by the resolver libraries to avoid a buffer overflow,
and may attempt to parse more data than is actually available, leaving
it vulnerable to a read buffer overflow.

Versions of pam_ldap prior to version 144 include a format string bug
in the logging function. The packages included in this erratum update
pam_ldap to version 144, fixing this bug. The Common Vulnerabilities
and Exposures project has assigned the name CVE-2002-0374 to this
issue.

All users of nss_ldap should update to these errata packages which are
not vulnerable to the above issues. These packages are based on
nss_ldap-189 with the addition of a backported security patch and
pam_ldap version 144.

Thanks to the nss_ldap and pam_ldap team at padl.com for providing
information about these issues.

See also :

https://www.redhat.com/security/data/cve/CVE-2002-0374.html
https://www.redhat.com/security/data/cve/CVE-2002-0825.html
http://www.padl.com/Articles/PotentialBufferOverflowin.html
http://www.padl.com/OSS/pam_ldap.html
http://archives.neohapsis.com/archives/vulnwatch/2002-q2/0053.html
http://rhn.redhat.com/errata/RHSA-2002-180.html

Solution :

Update the affected nss_ldap package.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Red Hat Local Security Checks

Nessus Plugin ID: 12321 ()

Bugtraq ID:

CVE ID: CVE-2002-0374
CVE-2002-0825