NULL pointer dereference in Samba
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
All versions of Samba from 4.0.0 onwards are vulnerable to a denial of service attack when the RPC spoolss service is configured to be run as an external daemon. Missing input sanitization checks on some of the input parameters to spoolss RPC calls could cause the print spooler service to crash.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Samba | Samba | All versions of Samba from 4.0.0 onwards | — | No fix listed | CNA |
- Samba VendorSamba Affected All versions of Samba from 4.0.0 onwards Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:lts:*:*:* | 17.10 | Vulnerable | Canonical |
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 3.6.0 to before 4.5.16; 4.6.0 to before 4.6.14; 4.7.0 to before 4.7.6 | Vulnerable | Samba |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:lts:*:*:* Versions 17.10 Vulnerable ·Canonical
- cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* Versions 3.6.0 to before 4.5.16; 4.6.0 to before 4.6.14; 4.7.0 to before 4.7.6 Vulnerable ·Samba
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Remediation
Red Hat 5 advisories
- RHSA-2018:3056 Released 2018-10-30 · Red Hat rating Moderatesamba security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +10
- Red Hat Enterprise Linux Client Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-4.8.3-4.el7 +10
- Red Hat Enterprise Linux ComputeNode (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +9
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux Server (v. 7) libsmbclient-4.8.3-4.el7, libsmbclient-4.8.3-4.el7.ppc, libwbclient-4.8.3-4.el7 +16
- Red Hat Enterprise Linux Server Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libsmbclient-devel-4.8.3-4.el7.ppc, libwbclient-devel-4.8.3-4.el7 +13
- Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb-4.8.3-4.el7, ctdb-tests-4.8.3-4.el7
- Red Hat Enterprise Linux Workstation (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux Workstation Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-dc-4.8.3-4.el7 +8
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) libsmbclient-4.8.3-4.el7, libwbclient-4.8.3-4.el7, samba-4.8.3-4.el7 +11
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) libsmbclient-devel-4.8.3-4.el7, libwbclient-devel-4.8.3-4.el7, samba-dc-4.8.3-4.el7 +8
- RHSA-2018:2613 Released 2018-09-04 · Red Hat rating Moderatesamba security, bug fix and enhancement update
- Red Hat Gluster 3.4 Samba on RHEL-7 ctdb-4.7.5-110.el7rhgs, libsmbclient-4.7.5-110.el7rhgs, libsmbclient-devel-4.7.5-110.el7rhgs +31
- RHSA-2018:2612 Released 2018-09-04 · Red Hat rating Moderatesamba security, bug fix and enhancement update
- Red Hat Gluster 3.4 Samba on RHEL-6 ctdb-4.7.5-110.el6rhs, libsmbclient-4.7.5-110.el6rhs, libsmbclient-devel-4.7.5-110.el6rhs +31
Show 2 more Red Hat advisories
- RHSA-2018:1860 Released 2018-06-19 · Red Hat rating Lowsamba security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) libsmbclient-3.6.23-51.el6, samba-3.6.23-51.el6, samba-client-3.6.23-51.el6 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) libsmbclient-devel-3.6.23-51.el6, samba-3.6.23-51.el6, samba-doc-3.6.23-51.el6 +5
- Red Hat Enterprise Linux HPC Node (v. 6) samba-3.6.23-51.el6, samba-client-3.6.23-51.el6, samba-common-3.6.23-51.el6 +2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libsmbclient-3.6.23-51.el6, libsmbclient-devel-3.6.23-51.el6, samba-3.6.23-51.el6 +6
- Red Hat Enterprise Linux Server (v. 6) libsmbclient-3.6.23-51.el6, libsmbclient-3.6.23-51.el6.ppc, samba-3.6.23-51.el6 +6
- Red Hat Enterprise Linux Server Optional (v. 6) libsmbclient-devel-3.6.23-51.el6, libsmbclient-devel-3.6.23-51.el6.ppc, samba-doc-3.6.23-51.el6 +6
- Red Hat Enterprise Linux Workstation (v. 6) libsmbclient-3.6.23-51.el6, samba-3.6.23-51.el6, samba-client-3.6.23-51.el6 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) libsmbclient-devel-3.6.23-51.el6, samba-doc-3.6.23-51.el6, samba-domainjoin-gui-3.6.23-51.el6 +4
- RHSA-2018:1883 Released 2018-06-19 · Red Hat rating Lowsamba4 security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) samba4-4.2.10-15.el6, samba4-client-4.2.10-15.el6, samba4-common-4.2.10-15.el6 +10
- Red Hat Enterprise Linux HPC Node (v. 6) samba4-4.2.10-15.el6, samba4-client-4.2.10-15.el6, samba4-common-4.2.10-15.el6 +10
- Red Hat Enterprise Linux Server (v. 6) samba4-4.2.10-15.el6, samba4-client-4.2.10-15.el6, samba4-common-4.2.10-15.el6 +10
- Red Hat Enterprise Linux Workstation (v. 6) samba4-4.2.10-15.el6, samba4-client-4.2.10-15.el6, samba4-common-4.2.10-15.el6 +10
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Samba — USN-3595-1
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2018-00977 Incorrect authorization in SambaPriority MEDIUM 50
- Advisory ·
Samba — DSA-4135
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2018-00977 Incorrect authorization in SambaPriority MEDIUM 50
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2018:1860, RHSA-2018:1883 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2018:1860 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2018:1860, RHSA-2018:1883 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2018:1860 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:1860, RHSA-2018:1883 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2018:1860 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Server Resilient Storage (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:1860, RHSA-2018:1883 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2018:1860 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:3056 |
| Red Hat Gluster 3.4 Samba on RHEL-6 | Fixed | RHSA-2018:2612 |
| Red Hat Gluster 3.4 Samba on RHEL-7 | Fixed | RHSA-2018:2613 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1050
- 2026-10-03 Alias added: GHSA-mfgj-gxgx-gcc4
References
Advisory 16
- USN-3595-2
- RHSA-2018:2613
- RHSA-2018:2612
- RHSA-2018:1883
- DSA-4135
- USN-3595-1
- RHSA-2018:1860
- RHSA-2018:3056
- GLSA-201805-07
- [debian-lts-announce] 20180327 [SECURITY] [DLA 1320-1] samba security update
- [debian-lts-announce] 20190409 [SECURITY] [DLA 1754-1] samba security update
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- https://www.samba.org/samba/security/CVE-2018-1050.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03834en_us
- https://bugzilla.redhat.com/show_bug.cgi?id=1538771
- https://security.netapp.com/advisory/ntap-20180313-0001/
More Samba vulnerabilities
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2017-05139 Code injection in samba KEVCVSS 3.1CRITICAL 9.8
- TI-2015-00210 The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x… CVSS 2.0HIGH 10.0
- TI-2003-00081 Buffer overflow in the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in… CVSS 2.0HIGH 10.0
- TI-2003-00185 Buffer overflow in the call_trans2open function in trans2.c for Samba 2.2.x before… CVSS 2.0HIGH 10.0
- TI-2007-02362 Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through… CVSS 2.0HIGH 10.0
Sources
- CVE-2018-1050 · CVE Program
- CVE-2018-1050 · NVD
- FIRST EPSS
- GHSA-mfgj-gxgx-gcc4 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1050 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences