Skip to content

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

ProductAffected versionsFixed 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
ProductAffected versionsFixed 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