EulerOS 2.0 SP8 : libldb (EulerOS-SA-2021-1984)

high Nessus Plugin ID 151026


The remote EulerOS host is missing multiple security updates.


According to the versions of the libldb packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- 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.(CVE-2021-20277)

- A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.(CVE-2020-27840)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected libldb packages.

See Also

Plugin Details

Severity: High

ID: 151026

File Name: EulerOS_SA-2021-1984.nasl

Version: 1.2

Type: local

Published: 6/28/2021

Updated: 6/30/2021

Risk Information


Risk Factor: Low

Score: 3.6


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: E:U/RL:OF/RC:C


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:ldb-tools, p-cpe:/a:huawei:euleros:libldb, p-cpe:/a:huawei:euleros:libldb-devel, p-cpe:/a:huawei:euleros:python2-ldb, p-cpe:/a:huawei:euleros:python3-ldb, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/local_checks_enabled, Host/EulerOS/release, Host/EulerOS/rpm-list, Host/EulerOS/sp

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Ease: No known exploits are available

Patch Publication Date: 6/28/2021

Reference Information

CVE: CVE-2020-27840, CVE-2021-20277