CVE-2018-16851 Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During the processing of an LDAP search before Samba's AD DC returns the LDAP entries to the cli...
MediumCVSS 6.5
EPSS 3.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable to a denial of service. During the processing of an LDAP search before Samba's AD DC returns the LDAP entries to the client, the entries are cached in a single memory object with a maximum size of 256MB. When this size is reached, the Samba process providing the LDAP service will follow the NULL pointer, terminating the process. There is no further vulnerability associated with this issue, merely a denial of service.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/samba(Debian:12) | < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| debian/samba(Debian:13) | < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| debian/samba(Debian:14) | < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| samba | >= 4.0.0, < 4.7.12 | 4.7.12 |
| samba | >= 4.8.0, < 4.8.7 | 4.8.7 |
| samba | >= 4.9.0, < 4.9.3 | 4.9.3 |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.10 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| [UNKNOWN] samba | = 4.7.12 | No fix listed |
| [UNKNOWN] samba | = 4.8.7 | No fix listed |
| [UNKNOWN] samba | = 4.9.3 | No fix listed |
| alpine/samba(Alpine:v3.10) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.11) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.12) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.13) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.14) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.15) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.16) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.17) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.18) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
Show 10 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/samba(Alpine:v3.19) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.20) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.21) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.22) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.23) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.24) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
| alpine/samba(Alpine:v3.6) | >= 4.0.0, < 4.6.16-r2 | 4.6.16-r2 |
| alpine/samba(Alpine:v3.7) | >= 4.0.0, < 4.7.6-r2 | 4.7.6-r2 |
| alpine/samba(Alpine:v3.8) | >= 4.8.0, < 4.8.8-r0 | 4.8.8-r0 |
| alpine/samba(Alpine:v3.9) | >= 4.8.0, < 4.8.7-r0 | 4.8.7-r0 |
References
- Debian Security Tracker CVE-2018-16851 vendor-advisory
- 106027 third-party-advisory vdb-entry
- bugzilla.redhat.com issue-tracking third-party-advisory
- [debian-lts-announce] 20181215 [SECURITY] [DLA 1607-1] samba security update mailing-list third-party-advisory
- GLSA-202003-52 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- USN-3827-1 third-party-advisory vendor-advisory
- USN-3827-2 third-party-advisory vendor-advisory
- DSA-4345 third-party-advisory vendor-advisory
- www.samba.org patch vendor-advisory
- security.alpinelinux.org vendor-advisory