OpenLDAP: Buffer overflow — GLSA 200606-17

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

Affected packages

net-nsd/openldap on all architectures
Affected versions < 2.3.22
Unaffected versions >= 2.3.22

Background

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.

Description

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

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All openLDAP users should upgrade to the latest version:

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

References

Release date
June 15, 2006

Latest revision
June 15, 2006: 01

Severity
normal

Exploitable
local

Bugzilla entries