Incorrect Calculation of Multi-Byte String Length Affecting libldb package, versions <0:1.1.20-1.el7_2.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-LIBLDB-2060086
  • 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 libldb to version 0:1.1.20-1.el7_2.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libldb package and not the libldb 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