CVE-2018-16851
published 2018-11-28CVE-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…
PriorityP432medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
3.25%
87.0th percentile
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
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | samba | < samba 2:4.9.2+dfsg-2 (bookworm) | samba 2:4.9.2+dfsg-2 (bookworm) |
| samba | samba | >= 0 < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.9.2+dfsg-2 | 2:4.9.2+dfsg-2 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.14.04.19 | 2:4.3.11+dfsg-0ubuntu0.14.04.19 |
| samba | samba | >= 0 < 2:4.3.11+dfsg-0ubuntu0.16.04.18 | 2:4.3.11+dfsg-0ubuntu0.16.04.18 |
| samba | samba | >= 0 < 2:4.7.6+dfsg~ubuntu-0ubuntu2.5 | 2:4.7.6+dfsg~ubuntu-0ubuntu2.5 |
| samba | samba | >= 4.0.0 < 4.7.12 | 4.7.12 |
| samba | samba | >= 4.8.0 < 4.8.7 | 4.8.7 |
| samba | samba | >= 4.9.0 < 4.9.3 | 4.9.3 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2018-11-27·CVSS 6.5
CVE-2018-14629 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
Florian Stuelpner discovered that Samba incorrectly handled CNAME records.
A remote attacker could use this issue to cause Samba to crash, resulting
in a denial of service. (CVE-2018-14629)
Alex MacCuish discovered that Samba incorrectly handled memory when
configured to accept smart-card authentication. A remote attacker could
possibly use this issue to cause Samba to crash, resulting in a denial of
service. (CVE-2018-16841)
Garming Sam discovered that Samba incorrectly handled memory when
processing LDAP searches. A remote attacker could possibly use this issue
to cause Samba to crash, resulting in a denial of service. (CVE-2018-16851)
Instructions: In general, a standard system update will make all t
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2018-11-27·CVSS 6.5
CVE-2018-14629 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
USN-3827-1 fixed a vulnerability in samba. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
Florian Stuelpner discovered that Samba incorrectly handled CNAME records.
A remote attacker could use this issue to cause Samba to crash, resulting
in a denial of service. (CVE-2018-14629)
Alex MacCuish discovered that Samba incorrectly handled memory when
configured to accept smart-card authentication. A remote attacker could
possibly use this issue to cause Samba to crash, resulting in a denial of
service. (CVE-2018-16841)
Garming Sam discovered that Samba incorrectly handled memory when
processing LDAP searches. A remote attacker could possibly use this issue
to
Red Hat
samba: NULL pointer de-reference in Samba AD DC LDAP server
vendor_redhat·2018-11-20·CVSS 6.5
CVE-2018-16851 [MEDIUM] CWE-476 samba: NULL pointer de-reference in Samba AD DC LDAP server
samba: NULL pointer de-reference in Samba AD DC LDAP server
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.
A null pointer dereference was found in the way LDAP search was implemented when Samba is used as Active Directory Domain Controller. A remote, authenticated attacker could use this flaw to cause a denial of service (application crash).
Debian
CVE-2018-16851: samba - Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable ...
vendor_debian·2018·CVSS 6.5
CVE-2018-16851 [MEDIUM] CVE-2018-16851: samba - Samba from version 4.0.0 and before versions 4.7.12, 4.8.7, 4.9.3 is vulnerable ...
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.
Scope: local
bookworm: resolved (fixed in 2:4.9.2+dfsg-2)
bullseye: resolved (fixed in 2:4.9.2+dfsg-2)
forky: resolved (fixed in 2:4.9.2+dfsg-2)
sid: resolved (fixed in 2:4.9.2+dfsg-2)
trixie: resolved (fixed in 2:4.9.2+dfsg-2)
GHSA
GHSA-48v5-hp4g-w2rv: Samba from version 4
ghsa_unreviewed·2022-05-13
CVE-2018-16851 [MEDIUM] CWE-476 GHSA-48v5-hp4g-w2rv: Samba from version 4
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.
OSV
CVE-2018-16851: Samba from version 4
osv·2018-11-28·CVSS 6.5
CVE-2018-16851 [MEDIUM] CVE-2018-16851: Samba from version 4
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.
OSV
samba vulnerabilities
osv·2018-11-27·CVSS 6.5
CVE-2018-14629 [MEDIUM] samba vulnerabilities
samba vulnerabilities
Florian Stuelpner discovered that Samba incorrectly handled CNAME records.
A remote attacker could use this issue to cause Samba to crash, resulting
in a denial of service. (CVE-2018-14629)
Alex MacCuish discovered that Samba incorrectly handled memory when
configured to accept smart-card authentication. A remote attacker could
possibly use this issue to cause Samba to crash, resulting in a denial of
service. (CVE-2018-16841)
Garming Sam discovered that Samba incorrectly handled memory when
processing LDAP searches. A remote attacker could possibly use this issue
to cause Samba to crash, resulting in a denial of service. (CVE-2018-16851)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server [fedora-all]
bugzilla·2018-11-28·CVSS 6.5
CVE-2018-16851 [MEDIUM] CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server [fedora-all]
CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supporte
Bugzilla
CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server
bugzilla·2018-11-05·CVSS 6.5
CVE-2018-16851 [MEDIUM] CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server
CVE-2018-16851 samba: NULL pointer de-reference in Samba AD DC LDAP server
A flaw was found in Samba versions from 4.0.0. 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. This can lead to a denial of service attack.
Discussion:
External Reference:
https://www.samba.org/samba/security/CVE-2018-16851.html
---
Acknowledgments:
Name: Garming Sam (Samba Team and Catalyst)
---
Created samba tracking bugs for this issue:
Affects: fedora-all [bug 1654091]
---
Statement:
This flaw does not affect the version of samba shipped with Re
http://www.securityfocus.com/bid/106027https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16851https://lists.debian.org/debian-lts-announce/2018/12/msg00005.htmlhttps://security.gentoo.org/glsa/202003-52https://security.netapp.com/advisory/ntap-20181127-0001/https://usn.ubuntu.com/3827-1/https://usn.ubuntu.com/3827-2/https://www.debian.org/security/2018/dsa-4345https://www.samba.org/samba/security/CVE-2018-16851.htmlhttp://www.securityfocus.com/bid/106027https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16851https://lists.debian.org/debian-lts-announce/2018/12/msg00005.htmlhttps://security.gentoo.org/glsa/202003-52https://security.netapp.com/advisory/ntap-20181127-0001/https://usn.ubuntu.com/3827-1/https://usn.ubuntu.com/3827-2/https://www.debian.org/security/2018/dsa-4345https://www.samba.org/samba/security/CVE-2018-16851.html
2018-11-28
Published