Double Free Affecting libndr-nbt0 package, versions <4.7.11+git.140.6bd0e5b30d8-4.21.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.87% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-LIBNDRNBT0-2756640
  • published14 Apr 2022
  • disclosed10 Dec 2018

Introduced: 10 Dec 2018

CVE-2018-16841  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 libndr-nbt0 to version 4.7.11+git.140.6bd0e5b30d8-4.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libndr-nbt0 package and not the libndr-nbt0 package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

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.

CVSS Scores

version 3.1