Gentoo Logo

OpenLDAP: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200606-17 / net-nds/openldap
Release Date June 15, 2006
Latest Revision June 15, 2006: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-nsd/openldap < 2.3.22 >= 2.3.22 All supported architectures

Related bugreports: #134010


The OpenLDAP replication server slurpd contains a buffer overflow that could result in arbitrary code execution.

2.  Impact Information


OpenLDAP is a suite of LDAP-related applications and development tools. It includes slapd (the standalone LDAP server), slurpd (the standalone LDAP replication server), various LDAP libraries, utilities and example clients.


slurpd contains a buffer overflow when reading very long hostnames from the status file.


By injecting an overly long hostname in the status file, an attacker could possibly cause the execution of arbitrary code with the permissions of the user running slurpd.

3.  Resolution Information


There is no known workaround at this time.


All openLDAP users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-nds/openldap-2.3.22"

4.  References


Page updated June 15, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.