Bug 1630668 (CVE-2018-14648) - CVE-2018-14648 389-ds-base: Mishandled search requests in servers/slapd/search.c:do_search() allows for denial of service
Summary: CVE-2018-14648 389-ds-base: Mishandled search requests in servers/slapd/searc...
Status: CLOSED ERRATA
Alias: CVE-2018-14648
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20180921,repor...
Keywords: Security
Depends On: 1624004 1631695 1631696 1633740
Blocks: 1630669
TreeView+ depends on / blocked
 
Reported: 2018-09-19 03:46 UTC by Sam Fowler
Modified: 2019-06-19 13:24 UTC (History)
11 users (show)

(edit)
It was found that a specially crafted search query could lead to excessive CPU consumption in the do_search() function. An unauthenticated attacker could use this flaw to provoke a denial of service.
Clone Of:
(edit)
Last Closed: 2019-06-10 10:38:20 UTC


Attachments (Terms of Use)
fix for v1.3.8.4 (1/2) (4.03 KB, patch)
2018-10-09 07:38 UTC, Cedric Buissart 🐶
no flags Details | Diff
additional regression fix for v1.3.8.4 (2/2) (1.65 KB, patch)
2018-10-09 07:39 UTC, Cedric Buissart 🐶
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3127 None None None 2018-10-30 07:42 UTC
Red Hat Product Errata RHSA-2018:3507 None None None 2018-11-06 15:33 UTC

Description Sam Fowler 2018-09-19 03:46:12 UTC
389 Directory Server is vulnerable to search queries with malformed values in the servers/slapd/search.c:do_search() function. A malicious client could exploit this by sending crafted queries in a loop to cause a denial of service.

Comment 3 Cedric Buissart 🐶 2018-09-21 10:01:48 UTC
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1631695]

Comment 5 Salvatore Bonaccorso 2018-09-28 20:11:18 UTC
Sam, is there a upstream issue reference for this issue (and a commit reference)?

Comment 6 Yogendra Jog 2018-10-01 14:35:12 UTC
Hi,

Correcting the needinfo.  The assigned engineer is on leave and you should get an update early next week.

Regards
YOG.

Comment 7 Cedric Buissart 🐶 2018-10-09 07:38 UTC
Created attachment 1491956 [details]
fix for v1.3.8.4 (1/2)

Comment 8 Cedric Buissart 🐶 2018-10-09 07:39 UTC
Created attachment 1491958 [details]
additional regression fix for v1.3.8.4 (2/2)

Comment 9 Cedric Buissart 🐶 2018-10-09 07:41:45 UTC
Hi Salvatore,

The fix has not been pushed upstream yet. You will find a proposed fix for v1.3.8.4 attachment (2 patches)

Comment 10 Cedric Buissart 🐶 2018-10-10 09:18:47 UTC
Fixed in 1.4.0.17 :
https://pagure.io/389-ds-base/c/a49bd03d6

For older branches:
1.3.7 : https://pagure.io/389-ds-base/c/c8ec6e58c
1.3.8 : https://pagure.io/389-ds-base/c/5fc374b43

Comment 11 Cedric Buissart 🐶 2018-10-10 09:18:56 UTC
External References:

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

Comment 12 errata-xmlrpc 2018-10-30 07:42:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 13 errata-xmlrpc 2018-11-06 15:33:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.5 Extended Update Support

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


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