OpenLDAP DoS Vulnerability
Gentoo Linux Security Advisory
||GLSA 200403-12 / openldap
||March 31, 2004
||May 22, 2006: 02
All supported architectures
A failed password operation can cause the OpenLDAP slapd server, if it is
using the back-ldbm backend, to free memory that was never allocated.
OpenLDAP is a suite of LDAP-related application and development tools.
It includes slapd (the standalone LDAP server), slurpd (the standalone
LDAP replication server), and various LDAP libraries, utilities and
A password extended operation (password EXOP) which fails will cause
the slapd server to free() an uninitialized pointer, possibly resulting
in a segfault. This only affects servers using the back-ldbm backend.
Such a crash is not guaranteed with every failed operation, however, it
An attacker (or indeed, a normal user) may crash the OpenLDAP server,
creating a Denial of Service condition.
A workaround is not currently known for this issue. All users are
advised to upgrade to the latest version of the affected package.
OpenLDAP users should upgrade to version 2.1.13 or later:
Code Listing 3.1: Resolution
# emerge sync
# emerge -pv ">=net-nds/openldap-2.1.13"
# emerge ">=net-nds/openldap-2.1.13"