Red Hat Security Advisory: samba security update
🔗 CVE IDs covered (3)
📋 Description
CVE-2017-2619 — samba: symlink race permits opening files outside share directory CVE-2017-12150 — samba: Some code path don't enforce smb signing, when they should CVE-2017-12163 — Samba: Server memory information leak over SMB1
🎯 Affected products163
- Red Hat Enterprise Linux Desktop (v. 6)
- Red Hat Enterprise Linux Desktop Optional (v. 6)
- Red Hat Enterprise Linux HPC Node (v. 6)
- Red Hat Enterprise Linux HPC Node Optional (v. 6)
- Red Hat Enterprise Linux Server (v. 6)
- Red Hat Enterprise Linux Server Optional (v. 6)
- Red Hat Enterprise Linux Workstation (v. 6)
- Red Hat Enterprise Linux Workstation Optional (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.ppc as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.s390 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
- libsmbclient-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.ppc as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.s390 as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.s390x as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)
- libsmbclient-devel-0:3.6.23-45.el6_9.x86_64 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- +133 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. Workaround: The missing implied signing for 'smb2mount -e', 'smbcacls -e' and 'smbcquotas -e' can be enforced by explicitly using '--signing=required' on the commandline or "client signing = required" in smb.conf. Workaround: As this is an SMB1-only vulnerability, it can be avoided by setting the server to only use SMB2 via adding: server min protocol = SMB2_02 to the [global] section of your smb.conf and restarting smbd.
🔗 References (6)
- selfhttps://access.redhat.com/errata/RHSA-2017:2789
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1429472
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1488400
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=1491206
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_2789.json