Bug 1537314 (CVE-2018-1054) - CVE-2018-1054 389-ds-base: remote Denial of Service (DoS) via search filters in SetUnicodeStringFromUTF_8 in collate.c
Summary: CVE-2018-1054 389-ds-base: remote Denial of Service (DoS) via search filters ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-1054
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1540105 1540106 1543798 1543799 1551515 1555168
Blocks: 1537315
TreeView+ depends on / blocked
 
Reported: 2018-01-22 22:28 UTC by Laura Pardo
Modified: 2021-02-17 00:56 UTC (History)
9 users (show)

Fixed In Version: 389-ds-base 1.3.6.14, 389-ds-base 1.3.7.10, 389-ds-base 1.4.0.6
Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds memory read flaw was found in the way 389-ds-base handled certain LDAP search filters. A remote, unauthenticated attacker could potentially use this flaw to make ns-slapd crash via a specially crafted LDAP request, thus resulting in denial of service.
Clone Of:
Environment:
Last Closed: 2018-03-14 05:11:33 UTC
Embargoed:


Attachments (Terms of Use)
Patch for CVE-2018-1054 (2.72 KB, patch)
2018-03-06 03:47 UTC, Dhiru Kholia
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0414 0 normal SHIPPED_LIVE Important: 389-ds-base security and bug fix update 2018-03-07 02:46:53 UTC
Red Hat Product Errata RHSA-2018:0515 0 normal SHIPPED_LIVE Important: 389-ds-base security update 2018-03-13 22:36:35 UTC

Description Laura Pardo 2018-01-22 22:28:49 UTC
A flaw was found in 389 Directory Server, affecting all versions including upstream 1.4.x. An improper handling of the search feature with an extended filter, when read access on <attribute_name> is enabled, in SetUnicodeStringFromUTF_8 function in collate.c, can lead to out-of-bounds memory operations. This may allow a remote unauthenticated attacker to trigger a server crash, thus resulting in denial of service.

External References:

https://pagure.io/389-ds-base/issue/49545

Upstream Patch:

https://pagure.io/389-ds-base/c/14ce2fe0dfa67405dae

Comment 6 Dhiru Kholia 2018-03-05 10:21:54 UTC
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1551515]

Comment 9 Dhiru Kholia 2018-03-06 03:47:57 UTC
Created attachment 1404619 [details]
Patch for CVE-2018-1054

Patch for CVE-2018-1054 attached.

Comment 11 errata-xmlrpc 2018-03-06 21:43:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0414 https://access.redhat.com/errata/RHSA-2018:0414

Comment 13 errata-xmlrpc 2018-03-13 18:26:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2018:0515 https://access.redhat.com/errata/RHSA-2018:0515


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