Red Hat Security Advisory: samba security, bug fix, and enhancement update
🔗 CVE IDs covered (2)
📋 Description
CVE-2017-2619 — samba: symlink race permits opening files outside share directory CVE-2017-9461 — samba: fd_open_atomic infinite loop due to wrong handling of dangling symlinks
🎯 Affected products53
- Red Hat Gluster 3.3 Samba on RHEL-6
- ctdb-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- ctdb-tests-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- ldb-tools-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libldb-0:1.1.29-1.el6rhs.src as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libldb-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libldb-debuginfo-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libldb-devel-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libsmbclient-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libsmbclient-devel-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtalloc-0:2.1.9-1.el6rhs.src as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtalloc-0:2.1.9-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtalloc-debuginfo-0:2.1.9-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtalloc-devel-0:2.1.9-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtdb-0:1.3.12-1.1.el6rhs.src as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtdb-0:1.3.12-1.1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtdb-debuginfo-0:1.3.12-1.1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtdb-devel-0:1.3.12-1.1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtevent-0:0.9.31-1.el6rhs.src as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtevent-0:0.9.31-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtevent-debuginfo-0:0.9.31-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libtevent-devel-0:0.9.31-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libwbclient-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- libwbclient-devel-0:4.6.3-5.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- pyldb-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- pyldb-devel-0:1.1.29-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- pytalloc-0:2.1.9-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- pytalloc-devel-0:2.1.9-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- python-tdb-0:1.3.12-1.1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- python-tevent-0:0.9.31-1.el6rhs.x86_64 as a component of Red Hat Gluster 3.3 Samba on RHEL-6
- +23 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: Add the parameter: unix extensions = no to the [global] section of your smb.conf and restart smbd. This prevents SMB1 clients from creating symlinks on the exported file system using SMB1. However, if the same region of the file system is also exported using NFS, NFS clients can create symlinks that potentially can also hit the race condition. For non-patched versions of Samba we recommend only exporting areas of the file system by either SMB or NFS, not both.
🔗 References (9)
- selfhttps://access.redhat.com/errata/RHSA-2017:2778
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1334397
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1426663
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1429472
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1436265
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1444028
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1459464
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2778.json