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 discovered 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. The message triggers a segmentation fault that results in slapd crashing. (CVE-2022-0918)

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

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.5

Type: local

Agent: unix

Published: 7/21/2022

Updated: 10/17/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, 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, p-cpe:/a:amazon:linux:389-ds-base-debuginfo, p-cpe:/a:amazon:linux:389-ds-base-devel, p-cpe:/a:amazon:linux:389-ds-base-libs, p-cpe:/a:amazon:linux:389-ds-base-snmp, cpe:/o:amazon:linux:2

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