RHSA-2017:1271HighCVSS 7.5

Red Hat Security Advisory: samba4 security update

Published
May 24, 2017
Last Modified
November 7, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2017-7494 — samba: Loading shared modules from any path in the system leading to RCE (SambaCry)

🎯 Affected products134

  • Red Hat Enterprise Linux Desktop (v. 6)
  • Red Hat Enterprise Linux HPC Node (v. 6)
  • Red Hat Enterprise Linux Server (v. 6)
  • Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-0:4.2.10-10.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-0:4.2.10-10.el6_9.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-0:4.2.10-10.el6_9.src as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-0:4.2.10-10.el6_9.src as a component of Red Hat Enterprise Linux HPC Node (v. 6)
  • samba4-0:4.2.10-10.el6_9.src as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-0:4.2.10-10.el6_9.src as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux HPC Node (v. 6)
  • samba4-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux HPC Node (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-client-0:4.2.10-10.el6_9.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-common-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
  • samba4-common-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
  • samba4-common-0:4.2.10-10.el6_9.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
  • samba4-common-0:4.2.10-10.el6_9.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
  • +104 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: Any of the following: 1. SELinux is enabled by default and our default policy prevents loading of modules from outside of samba's module directories and therefore blocks the exploit 2. Mount the filesystem which is used by samba for its writable share using "noexec" option. 3. Add the parameter: nt pipe support = no to the [global] section of your smb.conf and restart smbd. This prevents clients from accessing any named pipe endpoints. Note this can disable some expected functionality for Windows clients.

🔗 References (6)