Amazon Linux 2022 : libldb (ALAS2022-2022-247)

medium Nessus Plugin ID 168557


The remote Amazon Linux 2022 host is missing a security update.


The version of libldb installed on the remote host is prior to 2.5.2-1. It is, therefore, affected by a vulnerability as referenced in the ALAS2022-2022-247 advisory.

- A flaw was found in the Samba AD LDAP server. The AD DC database audit logging module can access LDAP message values freed by a preceding database module, resulting in a use-after-free issue. This issue is only possible when modifying certain privileged attributes, such as userAccountControl. (CVE-2022-32746)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


Run 'yum update libldb' to update your system.

See Also

Plugin Details

Severity: Medium

ID: 168557

File Name: al2022_ALAS2022-2022-247.nasl

Version: 1.4

Type: local

Agent: unix

Published: 12/9/2022

Updated: 9/29/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent

Risk Information


Risk Factor: Low

Score: 2.5


Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2022-32746


Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:ldb-tools, p-cpe:/a:amazon:linux:ldb-tools-debuginfo, p-cpe:/a:amazon:linux:libldb, p-cpe:/a:amazon:linux:libldb-debuginfo, p-cpe:/a:amazon:linux:libldb-debugsource, p-cpe:/a:amazon:linux:libldb-devel, p-cpe:/a:amazon:linux:python-ldb-devel-common, p-cpe:/a:amazon:linux:python3-ldb, p-cpe:/a:amazon:linux:python3-ldb-debuginfo, p-cpe:/a:amazon:linux:python3-ldb-devel, cpe:/o:amazon:linux:2022

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2022

Vulnerability Publication Date: 7/27/2022

Reference Information

CVE: CVE-2022-32746