GLSA 200606-17: OpenLDAP: Buffer overflow

Severity:normal
Title:OpenLDAP: Buffer overflow
Date:06/15/2006
Bugs: #134010
ID:200606-17

Synopsis

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

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.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-nsd/openldap < 2.3.22 >= 2.3.22 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200606-17.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!