Incorrect Calculation of Multi-Byte String Length Affecting samba-dc package, versions <0:4.2.3-11.el7_2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.02% (85th 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-RHEL7-SAMBADC-4594520
  • published26 Jul 2021
  • disclosed16 Dec 2015

Introduced: 16 Dec 2015

CVE-2015-5330  (opens in a new tab)
CWE-135  (opens in a new tab)

How to fix?

Upgrade RHEL:7 samba-dc to version 0:4.2.3-11.el7_2 or higher.
This issue was patched in RHSA-2016:0006.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-dc package and not the samba-dc package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

ldb before 1.1.24, as used in the AD LDAP server in Samba 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, mishandles string lengths, which allows remote attackers to obtain sensitive information from daemon heap memory by sending crafted packets and then reading (1) an error message or (2) a database value.

References

CVSS Scores

version 3.1