CVE-2018-16841
published 2018-11-28CVE-2018-16841: Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card…
PriorityP338medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
4.59%
90.6th percentile
Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.
Affected
17 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 | 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.3.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.05.7MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:R/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.
Red Hat
samba: Double-free in Samba AD DC KDC with PKINIT
vendor_redhat·2018-11-28·CVSS 6.5
CVE-2018-16841 [MEDIUM] CWE-416 samba: Double-free in Samba AD DC KDC with PKINIT
samba: Double-free in Samba AD DC KDC with PKINIT
Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.
A double-free was found when Samba's KDC is used as an Active Directory Domain Controller. An authenticated attacker could use this flaw to cause a denial of service (application crash).
Statement: This flaw does not affec
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
Debian
CVE-2018-16841: samba - Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnera...
vendor_debian·2018·CVSS 6.5
CVE-2018-16841 [MEDIUM] CVE-2018-16841: samba - Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnera...
Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.
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-q3v8-mj9m-2wq4: Samba from version 4
ghsa_unreviewed·2022-05-13
CVE-2018-16841 [MEDIUM] CWE-415 GHSA-q3v8-mj9m-2wq4: Samba from version 4
Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.
OSV
CVE-2018-16841: Samba from version 4
osv·2018-11-28·CVSS 6.5
CVE-2018-16841 [MEDIUM] CVE-2018-16841: Samba from version 4
Samba from version 4.3.0 and before versions 4.7.12, 4.8.7 and 4.9.3 are vulnerable to a denial of service. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. talloc is robust against further corruption from a double-free with talloc_free() and directly calls abort(), terminating the KDC process.
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-16841 samba: Double-free in Samba AD DC KDC with PKINIT [fedora-all]
bugzilla·2018-11-28·CVSS 6.5
CVE-2018-16841 [MEDIUM] CVE-2018-16841 samba: Double-free in Samba AD DC KDC with PKINIT [fedora-all]
CVE-2018-16841 samba: Double-free in Samba AD DC KDC with PKINIT [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 supported versions
Bugzilla
CVE-2018-16841 samba: Double-free in Samba AD DC KDC with PKINIT
bugzilla·2018-10-24·CVSS 6.5
CVE-2018-16841 [MEDIUM] CVE-2018-16841 samba: Double-free in Samba AD DC KDC with PKINIT
CVE-2018-16841 samba: Double-free in Samba AD DC KDC with PKINIT
A flaw was found in Samba from 4.3.0 versions. When configured to accept smart-card authentication, Samba's KDC will call talloc_free() twice on the same memory if the principal in a validly signed certificate does not match the principal in the AS-REQ. This is only possible after authentication with a trusted certificate. This could result in a Denial of Service attack.
Discussion:
External Reference:
https://www.samba.org/samba/security/CVE-2018-16841.html
---
Created samba tracking bugs for this issue:
Affects: fedora-all [bug 1654082]
---
Acknowledgments:
Name: The Samba Team
Upstream: Alex MacCuish
---
Statement:
This flaw does not affect the version of samba shipped with Red Hat Enterprise Linux because the
http://www.securityfocus.com/bid/106023https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841https://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-16841.htmlhttp://www.securityfocus.com/bid/106023https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841https://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-16841.html
2018-11-28
Published