Bug 1891685 (CVE-2020-14323)

Summary: CVE-2020-14323 samba: Unprivileged user can crash winbind
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: abokovoy, anoopcs, asn, gdeschner, hvyas, iboukris, iboukris, jarrpa, jstephen, lmohanty, madam, puebele, rhs-smb, sbose, security-response-team, ssorce, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: samba 4.11.15, samba 4.12.9, samba 4.13.1 Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference flaw was found in Samba's winbind service. This flaw allows a local user to crash the winbind service, causing a denial of service. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 22:19:07 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: 1891687, 1891688, 1892628, 1895347    
Bug Blocks: 1891686    

Description Huzaifa S. Sidhpurwala 2020-10-27 04:44:10 UTC
As per upstream advisory:

winbind in version 3.6 and later implements a request to translate multiple Windows SIDs into names in one request. This was done for performance reasons: The Microsoft RPC call domain controllers offer to do this translation offer this batch operation, so it was an obvious extension to also offer this batch operation on the winbind unix domain stream socket that is available to local processes on the Samba server.

Due to improper input validation a hand-crafted packet can make winbind perform a NULL pointer dereference and thus crash.

Comment 1 Huzaifa S. Sidhpurwala 2020-10-27 04:44:19 UTC
Acknowledgments:

Name: the Samba project
Upstream: Bas Alberts (GitHub Security Lab Team)

Comment 3 Huzaifa S. Sidhpurwala 2020-10-29 11:03:55 UTC
External References:

https://www.samba.org/samba/security/CVE-2020-14323.html

Comment 4 Huzaifa S. Sidhpurwala 2020-10-29 11:05:11 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 1892628]

Comment 7 errata-xmlrpc 2020-12-15 11:12:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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

Comment 8 Product Security DevOps Team 2020-12-15 22:19:07 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-14323

Comment 9 errata-xmlrpc 2021-05-18 13:57:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1647 https://access.redhat.com/errata/RHSA-2021:1647

Comment 10 errata-xmlrpc 2021-10-05 05:16:28 UTC
This issue has been addressed in the following products:

  Red Hat Gluster Storage 3.5 for RHEL 7

Via RHSA-2021:3723 https://access.redhat.com/errata/RHSA-2021:3723