Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
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
CVE-2018-14648 389-ds-base: Mishandled search requests in servers/slapd/searc...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180921,repor...
: Security
Depends On: 1631695 1631696 1633740 1624004
Blocks: 1630669
  Show dependency treegraph
 
Reported: 2018-09-18 23:46 EDT by Sam Fowler
Modified: 2018-10-30 03:42 EDT (History)
11 users (show)

See Also:
Fixed In Version: 389-ds-base 1.4.0.17
Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix for v1.3.8.4 (1/2) (4.03 KB, patch)
2018-10-09 03:38 EDT, Cedric Buissart
no flags Details | Diff
additional regression fix for v1.3.8.4 (2/2) (1.65 KB, patch)
2018-10-09 03:39 EDT, 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 03:42 EDT

  None (edit)
Description Sam Fowler 2018-09-18 23:46:12 EDT
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 06:01:48 EDT
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1631695]
Comment 5 Salvatore Bonaccorso 2018-09-28 16:11:18 EDT
Sam, is there a upstream issue reference for this issue (and a commit reference)?
Comment 6 Yogendra Jog 2018-10-01 10:35:12 EDT
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 03:38 EDT
Created attachment 1491956 [details]
fix for v1.3.8.4 (1/2)
Comment 8 Cedric Buissart 2018-10-09 03:39 EDT
Created attachment 1491958 [details]
additional regression fix for v1.3.8.4 (2/2)
Comment 9 Cedric Buissart 2018-10-09 03:41:45 EDT
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 05:18:47 EDT
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 05:18:56 EDT
External References:

https://pagure.io/389-ds-base/issue/49969
Comment 12 errata-xmlrpc 2018-10-30 03:42:18 EDT
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

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