Amazon Linux 2 : python-ldap (ALAS-2024-2406)

medium Nessus Plugin ID 187838

Synopsis

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

Description

The version of python-ldap installed on the remote host is prior to 2.4.15-2. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2024-2406 advisory.

- python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By sending crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition. (CVE-2021-46823)

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

Solution

Run 'yum update python-ldap' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2406.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46823.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 187838

File Name: al2_ALAS-2024-2406.nasl

Version: 1.0

Type: local

Agent: unix

Published: 1/9/2024

Updated: 1/9/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2021-46823

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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:amazon:linux:python-ldap, p-cpe:/a:amazon:linux:python-ldap-debuginfo, cpe:/o:amazon:linux:2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/3/2024

Vulnerability Publication Date: 6/18/2022

Reference Information

CVE: CVE-2021-46823