{"id":"CVE-2018-16841","published":"2018-11-28T14:00:00Z","modified":"2024-08-05T10:32:54Z","title":"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","vendor":null,"product":"samba","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04586,"percentile":0.91608,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"http://www.securityfocus.com/bid/106023","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3827-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3827-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://security.netapp.com/advisory/ntap-20181127-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16841","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2018/dsa-4345","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.samba.org/samba/security/CVE-2018-16841.html","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202003-52","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":18.32},{"name":"CVSS severity","points":3.99}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"samba","versions":["4.7.12","4.8.7","4.9.3"]}],"euvd":{"id":"EUVD-2018-8637","exploited":false,"provenance":"source"}}