Out-of-Bounds Affecting samba package, versions [4.0.0,4.5.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
90.72% (100th 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 IDSNYK-UNMANAGED-SAMBA-2370417
  • published26 Jan 2022
  • disclosed1 Nov 2018
  • creditUnknown

Introduced: 1 Nov 2018

CVE-2016-2123  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade samba to version 4.5.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. A flaw was found in samba versions 4.0.0 to 4.5.2. The Samba routine ndr_pull_dnsp_name contains an integer wrap problem, leading to an attacker-controlled memory overwrite. ndr_pull_dnsp_name parses data from the Samba Active Directory ldb database. Any user who can write to the dnsRecord attribute over LDAP can trigger this memory corruption. By default, all authenticated LDAP users can write to the dnsRecord attribute on new DNS objects. This makes the defect a remote privilege escalation.

References

CVSS Scores

version 3.1