Bug 802514 - (CVE-2012-1164) CVE-2012-1164 openldap (slapd): Assertion failure by processing search queries requesting only attributes for particular entry
CVE-2012-1164 openldap (slapd): Assertion failure by processing search querie...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 813162 829481
Blocks: 784298 802520
  Show dependency treegraph
Reported: 2012-03-12 13:33 EDT by Jan Lieskovsky
Modified: 2012-07-17 13:26 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-17 06:25:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2012-03-12 13:33:27 EDT
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 13:39:15 EDT
CVE Request:
[8] http://www.openwall.com/lists/oss-security/2012/03/12/2
Comment 4 Vincent Danen 2012-03-12 16:48:11 EDT
This was assigned the name CVE-2012-1164.
Comment 6 errata-xmlrpc 2012-06-20 03:29:30 EDT
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 16:00:36 EDT
Created openldap tracking bugs for this issue

Affects: fedora-all [bug 829481]
Comment 9 Jan Vcelak 2012-06-27 08:04:08 EDT
Fedora 16 affected.
Fedora 17, 18 not affected.
Comment 10 Taichi Yanagiya 2012-07-05 23:51:31 EDT
RHEL 5 affected ?
Comment 13 Stefan Cornelius 2012-07-17 06:25:01 EDT

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 13:26:14 EDT
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.