Bug 1833535 (CVE-2020-12243)

Summary: CVE-2020-12243 openldap: denial of service via nested boolean expressions in LDAP search filters
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aboyko, asoldano, atangrin, bbaranow, bmaxwell, brian.stansberry, cdewolf, chazlett, csutherl, darran.lofthouse, dkreling, dosoudil, ggasparb, gzaronik, iweiss, jawilson, jclere, jochrist, jpazdziora, jperkins, jsynacek, jwon, krathod, kwills, lgao, mbabacek, mhonek, msochure, msvehla, mturk, myarboro, nwallace, pjindal, pkis, pmackay, pmatouse, psotirop, rguimara, rmeggins, rstancel, rsvoboda, smaestri, tom.jenkinson, vashirov, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openldap 2.4.50 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 22:00:46 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: 1833536, 1838405, 1838406    
Bug Blocks: 1833537    

Description Guilherme de Almeida Suckevicz 2020-05-08 20:09:09 UTC
In filter.c in slapd in OpenLDAP before 2.4.50, LDAP search filters with nested boolean expressions can result in denial of service (daemon crash).

Reference:
https://bugs.openldap.org/show_bug.cgi?id=9202

Upstream commits:
https://git.openldap.org/openldap/openldap/-/blob/OPENLDAP_REL_ENG_2_4/CHANGES
https://git.openldap.org/openldap/openldap/-/commit/98464c11df8247d6a11b52e294ba5dd4f0380440

Comment 1 Guilherme de Almeida Suckevicz 2020-05-08 20:09:59 UTC
Created openldap tracking bugs for this issue:

Affects: fedora-all [bug 1833536]

Comment 2 Kunjan Rathod 2020-05-11 00:23:12 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat Enterprise Application Platform 5
 * Red Hat JBoss Enterprise Web Server 2

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 7 errata-xmlrpc 2020-09-29 20:50:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4041 https://access.redhat.com/errata/RHSA-2020:4041

Comment 8 Product Security DevOps Team 2020-09-29 22:00:46 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-12243

Comment 9 Jan Pazdziora 2023-07-25 15:17:47 UTC
Hello,

while doing review of the Vulnerability Assessment report of RHEL 8.6 for the purpose of Common Criteria certification, we came across this CVE-2020-12243. The CVE page https://access.redhat.com/security/cve/cve-2020-12243 lists RHEL 8 as Not affected.

Could a Statement be added to that CVE page that RHEL 8 is not affected because it does not ship slapd, similar to https://access.redhat.com/security/cve/cve-2020-36221?

Thank you, Jan

Comment 10 Petr Matousek 2023-08-10 11:29:29 UTC
In reply to comment #9:
> Could a Statement be added to that CVE page that RHEL 8 is not affected

added statement