Security Advisory Moderate: redhat-ds-base and redhat-ds-admin security and bug fix update

Advisory: RHSA-2008:0602-15
Type: Security Advisory
Severity: Moderate
Issued on: 2008-08-27
Last updated on: 2008-10-03
Affected Products: Red Hat Directory Server v8 EL4
Red Hat Directory Server v8 EL5
CVEs ( CVE-2008-2930


Updated redhat-ds-base and redhat-ds-admin packages are now available that
fix security issues and various bugs.

This update has been rated as having moderate security impact by the Red Hat
Security Response Team.

Red Hat Directory Server is an LDAPv3-compliant directory server.

Multiple memory leaks were identified in the Directory Server. An
unauthenticated remote attacker could use these flaws to trigger high
memory consumption in the Directory Server, possibly causing it to crash or
terminate unexpectedly when running out of available memory. (CVE-2008-3283)

[Updated 3rd October 2008]
Ulf Weltman of Hewlett Packard discovered a flaw in the way Directory
Server handled LDAP search requests with patterns. A remote attacker with
access to the LDAP service could create a search request that, when the
search pattern was matched against specially crafted data records, caused
Directory Server to use a large amount of CPU time because the Directory
Server did not impose time limits on such search requests. In this updated
package, Directory Server imposes the nsslapd-timelimit attribute on the
pattern-search query run times. This attribute has the default limit of
3600 seconds; to shorten this limit, use ldapmodify to change the
nsslapd-timelimit value in the cn=config entry. (CVE-2008-2930)

In addition to these security fixes, the following bugs have been fixed in
these updated packages:

* The change sequence numbers in multi-master replication had a built-in
time skew to accommodate differences in the clocks on master servers. Under
certain circumstances, this skew exceeded the maximum allowable skew,
causing replication to stop entirely.

* If an entry with a large attribute value, such as over 32KB, was
replicated, the replication could fail with a DB_BUFFER_SMALL error.

* If a password policy attribute such as accountunlocktime was added to an
entry, the server would attempt to replicate that attribute, causing
replication to fail.

* The Directory Server would crash during the index operation if
replication was configured and an attribute value was scheduled to be
deleted which was indexed or had an attribute subtype which was indexed.

* On x86_64 systems, recursively adding groups as members to other groups
could crash the server because the stack size for the memberOf plug-in on
64-bit systems was hard-coded to 256KB, regardless of the ulimit value.

* Attempting to register a new Directory Server instance to a remote
Configuration Directory would fail; a new -u option has been added to the script to resolve this.

* Creating a new Directory Server instance through the Console would fail
if it was attempted after the Admin Server was restarted.

* If the Directory Server Console was set to use SSL, then clicking the
"Manage Certificates" in the Console threw a Java exception and the window
would not open.

* A problem in the SASL IO handling meant that memory was not reallocated
after SASL binds. For example, a simple bind coming immediately after a
SASL bind might have failed.

All users of Red Hat Directory Server 8.0 should upgrade to these updated
packages, which resolve these issues.


This update is available via Red Hat Network.

Users running Red Hat Directory Server 8.0 on Red Hat Enterprise Linux
should consult the following Knowledge Base article for instruction on how
to install updated RPM packages:

Users running Red Hat Directory Server 8.0 on Solaris can download updated
Solaris packages in the PKG format form the Red Hat Directory Server 8.0
Solaris channel on the Red Hat Network. Those packages need to be
installed/upgraded using Solaris native package management tools.

See also the Red Hat Directory Server 8.0 Installation Guide for
installation instructions:

Updated packages

Red Hat Directory Server v8 EL4

File outdated by:  RHSA-2011:0293
    MD5: f9215bad6c53c350a0c83ade292fec69
File outdated by:  RHBA-2012:0064
    MD5: b0bd4a9d0fbd4f75b37202649a2010c0
File outdated by:  RHSA-2011:0293
    MD5: 20e00087d404f5dbee95eb312a35d8b7
File outdated by:  RHBA-2012:0064
    MD5: 3e7d6aafb6912df8cf5101c2fc2a0867
File outdated by:  RHBA-2012:0064
    MD5: 36cb0a614e50fd2947a02159ad62baf4
File outdated by:  RHSA-2011:0293
    MD5: 41122de0c737200c37f3f2314b83bb3e
File outdated by:  RHBA-2012:0064
    MD5: 0f5eae1770ffec0dad45de9396aed7be
File outdated by:  RHBA-2012:0064
    MD5: 30c06d9848c40c063a8de44f358f21e8
Red Hat Directory Server v8 EL5

File outdated by:  RHBA-2012:1079
    MD5: c00a0798405e79a3ae21ce1778140ad8
File outdated by:  RHBA-2014:1185
    MD5: 2df8dbca16928b57746c7a52988f84e8
File outdated by:  RHBA-2012:1079
    MD5: a9eb98c1905d5d23f643dffa94640834
File outdated by:  RHBA-2014:1185
    MD5: a07ca02e367098686e4bbc18ded0b8c6
File outdated by:  RHBA-2014:1185
    MD5: a14f95780e1a31629738fdcc48125542
File outdated by:  RHBA-2012:1079
    MD5: b3e30084c62ab6dd2361caabfde37d3e
File outdated by:  RHBA-2014:1185
    MD5: d01d05c736aff38d4ed08211accc6cd0
File outdated by:  RHBA-2014:1185
    MD5: 744724220a5016787df6547e7727ac04
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

233642 - MMR breaks with time skew errors
431103 - Cannot setup ds with remote config DS
440333 - Valgrind errors about use of unitialized values
442103 - rhds8.0 "manage certificates" and ssl in console java.lang.NullPointerException
442170 - "DB_BUFFER_SMALL: User memory too small for return value" error when importing LDIF with replication active
450973 - rhds80 account accountunlocktime attribute breaks replication
452169 - Crash in indexing code under heavy memberOf load with replication
454065 - CVE-2008-2930 Directory Server: temporary DoS via crafted pattern searches
454328 - Stack overflow when using memberOf plug-in on x86_64
458506 - SASL bind can leak credentials in some cases
458507 - Memory leak setting new password storage scheme
458510 - Memory leak setting password with passwd extop
458666 - Memory leaks in check_trivial_words, check_pw_storagescheme_value
458668 - Memory leaks in ids_sasl_user_search
458675 - Memory leaks in valueset code
458677 - Memory leaks in index code doing indexed & range & matching rule searches
458977 - CVE-2008-3283 Directory Server: multiple memory leaks


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:

The Red Hat security contact is More contact details at