Bug 1290287 (CVE-2015-3223)

Summary: CVE-2015-3223 libldb: Remote DoS in Samba (AD) LDAP server
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aavati, asn, carnil, gdeschner, jrivera, jrusnack, nlevinki, rfortier, sbose, security-response-team, sgirijan, sisharma, slong, smohan, ssaha, vbellur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: libldb 1.1.24 Doc Type: Bug Fix
Doc Text:
A denial of service flaw was found in the ldb_wildcard_compare() function of libldb. A remote attacker could send a specially crafted packet that, when processed by an application using libldb (for example the AD LDAP server in Samba), would cause that application to consume an excessive amount of memory and crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-08 12:18:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1290708, 1290709, 1290710, 1290712, 1290713, 1290714, 1290715, 1291376, 1292069    
Bug Blocks: 1281327    

Description Huzaifa S. Sidhpurwala 2015-12-10 04:52:49 UTC
As per samba upstream advisory:

All versions of Samba from 4.0.0 to 4.3.2 inclusive are vulnerable to a denial of service attack in the samba daemon LDAP server.

A malicious client can send packets that cause the LDAP server in the samba daemon process to become unresponsive, preventing the server from servicing any other requests.

This flaw is not exploitable beyond causing the code to loop expending CPU resources.

Comment 1 Huzaifa S. Sidhpurwala 2015-12-10 06:30:58 UTC

Red Hat would like to thank the Samba project for reporting this issue. Upstream acknowledges Thilo Uttendorfer as the original reporter.

Comment 6 Siddharth Sharma 2015-12-16 12:09:04 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 1292069]

Comment 7 Huzaifa S. Sidhpurwala 2015-12-17 04:11:29 UTC
External References:


Comment 14 errata-xmlrpc 2016-01-08 01:13:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2016:0009 https://rhn.redhat.com/errata/RHSA-2016-0009.html

Comment 15 errata-xmlrpc 2016-01-08 09:14:01 UTC
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 6
  Red Hat Gluster Storage 3.1 for RHEL 7

Via RHSA-2016:0014 https://rhn.redhat.com/errata/RHSA-2016-0014.html