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


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
1.02% (84th 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-CENTOS7-SAMBATESTLIBS-2060006
  • 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 Centos:7 samba-test-libs to version 0:4.2.3-11.el7_2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream samba-test-libs package and not the samba-test-libs package as distributed by Centos. See How to fix? for Centos: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