Bug 1626079 (CVE-2018-14638)

Summary: CVE-2018-14638 389-ds-base: Crash in delete_passwdPolicy when persistent search connections are terminated unexpectedly
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: lkrispen, mhonek, mreynolds, nkinder, rmeggins, security-response-team, spichugi, tbordaz, vashirov
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base 1.4.0.17 Doc Type: If docs needed, set a value
Doc Text:
A double-free of a password policy structure was found in the way slapd was handling certain errors during persistent search. A unauthenticated attacker could use this flaw to crash Directory Server.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-27 11:15:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1623949, 1624420, 1628677, 1637870    
Bug Blocks: 1626081    

Description Pedro Sampaio 2018-09-06 14:16:39 UTC
A flaw was found in 389-ds-base. The process ns-slapd crashes in delete_passwdPolicy function when persistent search connections are terminated unexpectedly leading to remote denial of service.

References:

https://bugzilla.redhat.com/show_bug.cgi?id=1623949

Comment 2 Cedric Buissart 2018-09-14 14:16:13 UTC
Upstream fix: 
https://pagure.io/389-ds-base/c/78fc627accacfa4061ce48977e22301f81ea8d73

Comment 3 Cedric Buissart 2018-09-14 14:39:36 UTC
Acknowledgments:

Name: Viktor Ashirov (Red Hat)

Comment 4 errata-xmlrpc 2018-09-25 19:06:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 5 Cedric Buissart 2018-10-10 08:58:41 UTC
Created 389-ds-base tracking bugs for this issue:

Affects: fedora-all [bug 1637870]