Bug 802514 (CVE-2012-1164) - CVE-2012-1164 openldap (slapd): Assertion failure by processing search queries requesting only attributes for particular entry
Summary: CVE-2012-1164 openldap (slapd): Assertion failure by processing search querie...
Alias: CVE-2012-1164
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 813162 829481
Blocks: 784298 802520
TreeView+ depends on / blocked
Reported: 2012-03-12 17:33 UTC by Jan Lieskovsky
Modified: 2021-02-24 12:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-07-17 10:25:01 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0899 0 normal SHIPPED_LIVE Low: openldap security and bug fix update 2012-06-19 19:28:37 UTC

Description Jan Lieskovsky 2012-03-12 17:33:27 UTC
A denial of service flaw was found in the way the slapd server of the OpenLDAP, the Lightweight Directory Access Protocol applications and development suite, processed certain search queries requesting only attributes (no values) for a particular entry. A remote attacker could issue a specially-crafted LDAP search query, which once processed by a vulnerable slapd server would lead to assertion failure (slapd abort).

Upstream bug report:
[1] http://www.openldap.org/its/index.cgi/Software%20Bugs?id=7143

Original upstream patch:
[2] http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;h=ef2f5263de8802794e528cc2648ecfca369302ae

Further patches:
[3] http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;h=430256fafb85028443d7964a5ab1f4bbf8b2db38
[4] http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=commit;h=463c1fa25d45e393dc1f1ea235286f79e872fad0

[5] http://www.openldap.org/software/release/changes.html
[6] https://bugs.gentoo.org/show_bug.cgi?id=407941
[7] https://secunia.com/advisories/48372/

Comment 1 Jan Lieskovsky 2012-03-12 17:39:15 UTC
CVE Request:
[8] http://www.openwall.com/lists/oss-security/2012/03/12/2

Comment 4 Vincent Danen 2012-03-12 20:48:11 UTC
This was assigned the name CVE-2012-1164.

Comment 6 errata-xmlrpc 2012-06-20 07:29:30 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:0899 https://rhn.redhat.com/errata/RHSA-2012-0899.html

Comment 8 Vincent Danen 2012-06-20 20:00:36 UTC
Created openldap tracking bugs for this issue

Affects: fedora-all [bug 829481]

Comment 9 Jan Vcelak 2012-06-27 12:04:08 UTC
Fedora 16 affected.
Fedora 17, 18 not affected.

Comment 10 Taichi Yanagiya 2012-07-06 03:51:31 UTC
RHEL 5 affected ?

Comment 13 Stefan Cornelius 2012-07-17 10:25:01 UTC

This issue did not affect openldap as shipped with Red Hat Enterprise Linux 5 as it did not contain the relevant assertion. This has been addressed in Red Hat Enterprise Linux 6 via https://rhn.redhat.com/errata/RHSA-2012-0899.html

Comment 14 Fedora Update System 2012-07-17 17:26:14 UTC
openldap-2.4.26-8.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.