GLSA 200403-12: OpenLDAP DoS Vulnerability

Severity:normal
Title:OpenLDAP DoS Vulnerability
Date:03/31/2004
Bugs: #26728
ID:200403-12

Synopsis

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.

Background

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 example clients.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-nds/openldap <= 2.1.12 >= 2.1.13 All supported architectures

Description

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 is possible.

Impact

An attacker (or indeed, a normal user) may crash the OpenLDAP server, creating a Denial of Service condition.

Workaround

A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of the affected package.

Resolution

OpenLDAP users should upgrade to version 2.1.13 or later:

    # emerge sync
    
    # emerge -pv ">=net-nds/openldap-2.1.13"
    # emerge ">=net-nds/openldap-2.1.13"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200403-12.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!