Red Hat Security Advisory: samba security, bug fix, and enhancement update
🔗 CVE IDs covered (3)
📋 Description
CVE-2020-1472 — samba: Netlogon elevation of privilege vulnerability (Zerologon) CVE-2020-14318 — samba: Missing handle permissions check in SMB1/2/3 ChangeNotify CVE-2020-14323 — samba: Unprivileged user can crash winbind
🎯 Affected products200
- Red Hat CodeReady Linux Builder (v. 8)
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-0:4.13.3-3.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-0:4.13.3-3.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-0:4.13.3-3.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-0:4.13.3-3.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-debuginfo-0:4.13.3-3.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-0:4.13.3-3.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-0:4.13.3-3.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-0:4.13.3-3.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-0:4.13.3-3.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.aarch64 as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.i686 as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.ppc64le as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.s390x as a component of Red Hat CodeReady Linux Builder (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)
- ctdb-tests-debuginfo-0:4.13.3-3.el8.x86_64 as a component of Red Hat CodeReady Linux Builder (v. 8)
- +170 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the smb service will be restarted automatically. Workaround: This flaw can be mitigated by using "server schannel = yes" in the smb.conf configuration file. Workaround: As Samba internally opens an underlying file system handle on a directory when a client requests an open, even for FILE_READ_ATTRIBUTES then if the underlying file system permissions don't allow "r" (read) access for the connected user, then the handle open request will be denied. "r" access is the normal permission needed to list or otherwise reveal the contents of a directory, so if a connected user has "r" access then they will be able to list the directory contents normally, and the information received by a ChangeNofity request is already available to the user. The security issue occurs if the Administrator or directory owner had set more restrictive Windows ACL permissions on the directory to disallow read access to the user, and this permissions change was not reflected in the underlying file system permissions. This will only occur if Samba is configured with VFS modules to decouple the underlying file system permissions from the Windows ACLs, by setting up a share with the settings: [vulnerable_share] vfs_objects = vfs_acl_xattr acl_xattr:ignore system acls = yes
🔗 References (19)
- selfhttps://access.redhat.com/errata/RHSA-2021:1647
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://access.redhat.com/articles/5435971
- externalhttps://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1818038
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1869702
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1872833
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1878109
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1879822
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1888990
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1891685
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1892631
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1896736
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1898866
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1902198
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1904174
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1924571
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1924615
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1647.json