Amazon Linux 2 : 389-ds-base (ALAS-2022-1819)

medium Nessus Plugin ID 163317

Synopsis

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

Description

The version of 389-ds-base installed on the remote host is prior to 1.3.10.2-16. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2022-1819 advisory.

A double free was found in the way 389-ds-base handles virtual attributes context in persistent searches.
An attacker could send a series of search requests, forcing the server to behave unexpectedly, and crash.
(CVE-2021-4091)

A vulnerability was found in the 389 Directory Server that allows an unauthenticated attacker with network access to the LDAP port to cause a denial of service. The denial of service is triggered by a single message sent over a TCP connection. No bind or other authentication is required. This message triggers a segmentation fault that results in slapd crashing. (CVE-2022-0918)

A vulnerability was found in the 389 Directory Server. This issue allows expired passwords to access the database, causing improper authentication. (CVE-2022-0996)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update 389-ds-base' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2022-1819.html

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

https://alas.aws.amazon.com/cve/html/CVE-2022-0918.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0996.html

Plugin Details

Severity: Medium

ID: 163317

File Name: al2_ALAS-2022-1819.nasl

Version: 1.6

Type: local

Agent: unix

Published: 7/21/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

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

CVSS Score Source: CVE-2022-0996

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:389-ds-base-debuginfo, p-cpe:/a:amazon:linux:389-ds-base-snmp, p-cpe:/a:amazon:linux:389-ds-base, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:389-ds-base-libs, p-cpe:/a:amazon:linux:389-ds-base-devel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/19/2022

Vulnerability Publication Date: 2/18/2022

Reference Information

CVE: CVE-2021-4091, CVE-2022-0918, CVE-2022-0996