EulerOS 2.0 SP2 : libldb (EulerOS-SA-2021-2397)

high Nessus Plugin ID 153315

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

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.

Solution

Update the affected libldb packages.

See Also

http://www.nessus.org/u?83a24e56

Plugin Details

Severity: High

ID: 153315

File Name: EulerOS_SA-2021-2397.nasl

Version: 1.2

Type: local

Published: 9/14/2021

Updated: 9/16/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-20277

CVSS v3

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: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:libldb, p-cpe:/a:huawei:euleros:pyldb, 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: 9/14/2021

Reference Information

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