Out-of-bounds Read Affecting ldb package, versions <2:1.2.3-1ubuntu0.2


Severity

Recommended
0.0
high
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
4.33% (90th 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-UBUNTU1804-LDB-1088574
  • published24 Mar 2021
  • disclosed12 May 2021

Introduced: 24 Mar 2021

CVE-2021-20277  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ldb to version 2:1.2.3-1ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ldb package and not the ldb package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

CVSS Base Scores

version 3.1