Bug 1288451 (CVE-2015-7540)

Summary: CVE-2015-7540 samba: DoS to AD-DC due to insufficient checking of asn1 memory allocation
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aavati, asn, gdeschner, jarrpa, jrusnack, ksiddiqu, nlevinki, osoukup, rfortier, sbose, security-response-team, sgirijan, slong, smohan, ssaha, vbellur
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: samba 4.1.22, samba 4.2.0 Doc Type: Bug Fix
Doc Text:
A denial of service flaw was found in the LDAP server provided by the AD DC in the Samba process daemon. A remote attacker could exploit this flaw by sending a specially crafted packet, which could cause the server to consume an excessive amount of memory and crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-08 12:19:12 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, 1290711, 1290727, 1292069    
Bug Blocks: 1281327, 1288454    

Description Adam Mariš 2015-12-04 09:40:33 UTC
A denial-of-service vulnerability for the AD-DC due to insuffiecient checking on asn1 memory allocation was reported.

Upstream bug:


Comment 5 Siddharth Sharma 2015-12-16 12:08:58 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 1292069]

Comment 6 Huzaifa S. Sidhpurwala 2015-12-17 04:10:41 UTC
External References:


Comment 7 Tomas Hoger 2015-12-17 15:34:30 UTC
Upstream fixes as applied to 4.1.22:


Upstream advisory also indicates that newer samba versions (4.2+) were already fixed in Sep 2014.

Comment 9 errata-xmlrpc 2016-01-07 17:06:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

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

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

  Red Hat Enterprise Linux 7

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

Comment 11 errata-xmlrpc 2016-01-08 10:19:41 UTC
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.1 for RHEL 6

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