- Issued:
- 2008-08-27
- Updated:
- 2008-10-03
RHSA-2008:0602 - Security Advisory
Synopsis
Moderate: redhat-ds-base and redhat-ds-admin security and bug fix update
Type/Severity
Security Advisory: Moderate
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
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.
Description
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
setup-ds-admin.pl 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.
Solution
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:
http://kbase.redhat.com/faq/FAQ_58_10188
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:
Affected Products
- Red Hat Directory Server 8 x86_64
- Red Hat Directory Server 8 i386
Fixes
- BZ - 233642 - MMR breaks with time skew errors
- BZ - 431103 - Cannot setup ds with remote config DS
- BZ - 440333 - Valgrind errors about use of unitialized values
- BZ - 442103 - rhds8.0 "manage certificates" and ssl in console java.lang.NullPointerException
- BZ - 442170 - "DB_BUFFER_SMALL: User memory too small for return value" error when importing LDIF with replication active
- BZ - 450973 - rhds80 account accountunlocktime attribute breaks replication
- BZ - 452169 - Crash in indexing code under heavy memberOf load with replication
- BZ - 454065 - CVE-2008-2930 Directory Server: temporary DoS via crafted pattern searches
- BZ - 454328 - Stack overflow when using memberOf plug-in on x86_64
- BZ - 458506 - SASL bind can leak credentials in some cases
- BZ - 458507 - Memory leak setting new password storage scheme
- BZ - 458510 - Memory leak setting password with passwd extop
- BZ - 458666 - Memory leaks in check_trivial_words, check_pw_storagescheme_value
- BZ - 458668 - Memory leaks in ids_sasl_user_search
- BZ - 458675 - Memory leaks in valueset code
- BZ - 458677 - Memory leaks in index code doing indexed & range & matching rule searches
- BZ - 458977 - CVE-2008-3283 Directory Server: multiple memory leaks
Red Hat Directory Server 8
SRPM | |
---|---|
redhat-ds-admin-8.0.4-3.el5dsrv.src.rpm | SHA-256: 0737d09f0258e4d94d3b6eb3269d9db301d9b7fa922360fef9579578d613dc25 |
redhat-ds-base-8.0.4-7.el5dsrv.src.rpm | SHA-256: 202abfaacc54cd10817f92c7f38a13fa588c0ad6962f4f1a4f252715874974ba |
x86_64 | |
redhat-ds-admin-8.0.4-3.el5dsrv.x86_64.rpm | SHA-256: cd3c90552ae7b752563f27e9cc64c0a0046530276cdb713b841e38f56a0b1769 |
redhat-ds-base-8.0.4-7.el5dsrv.x86_64.rpm | SHA-256: 62153dfb484a56a4c3416a48c20030b9a3ea71b88959062b592673cd652db8f3 |
redhat-ds-base-devel-8.0.4-7.el5dsrv.x86_64.rpm | SHA-256: 3ace50fdb02133d842d9d6992dd14ec44fc197a6bdc73aafdec230aa587c7825 |
i386 | |
redhat-ds-admin-8.0.4-3.el5dsrv.i386.rpm | SHA-256: 713aaf26f3b6b91cd1d9c1b54e388ef6af83acb39e7d0c253b1e1595128d8181 |
redhat-ds-base-8.0.4-7.el5dsrv.i386.rpm | SHA-256: 9445fcc914499318ded55a200f35012161c12ec127205f9c5364e4965e0ebf46 |
redhat-ds-base-devel-8.0.4-7.el5dsrv.i386.rpm | SHA-256: 91b5531acab5fe25b0a2f7f46cba97a564fcdd15c51efb528938cfc84af70d47 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.