Debian dla-4021 : 389-ds - security update

medium Nessus Plugin ID 214393

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4021 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4021-1 [email protected] https://www.debian.org/lts/security/ Andrej Shadura January 19, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : 389-ds-base Version : 1.4.4.11-2+deb11u1 CVE ID : CVE-2021-3652 CVE-2021-4091 CVE-2022-0918 CVE-2022-0996 CVE-2022-2850 CVE-2024-2199 CVE-2024-3657 CVE-2024-5953 CVE-2024-8445

This update fixes multiple vulnerabilities in 389-ds-base LDAP server.

CVE-2021-3652

If an asterisk is imported as password hashes, either accidentally or maliciously, then instead of being inactive, any password will successfully match during authentication. This flaw allows an attacker to successfully authenticate as a user whose password was disabled.

CVE-2021-4091

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-2022-0918

A vulnerability 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-0996

A vulnerability allows expired passwords to access the database to cause improper authentication.

CVE-2022-2850

When the content synchronization plugin is enabled, an authenticated user can reach a NULL pointer dereference using a specially crafted query. This flaw allows an authenticated attacker to cause a denial of service. This CVE is assigned against an incomplete fix of CVE-2021-3514.

CVE-2024-2199

A denial of service vulnerability that may allow an authenticated user to cause a server crash while modifying `userPassword` using malformed input.

CVE-2024-3657

A specially-crafted LDAP query can potentially cause a failure on the directory server, leading to a denial of service.

CVE-2024-5953

This issue may allow an authenticated user to cause a server denial of service while attempting to log in with a user with a malformed hash in their password.

CVE-2024-8445

The fix for CVE-2024-2199 in 389-ds-base was insufficient to cover all scenarios. In certain product versions, an authenticated user may cause a server crash while modifying `userPassword` using malformed input.

For Debian 11 bullseye, these problems have been fixed in version 1.4.4.11-2+deb11u1.

We recommend that you upgrade your 389-ds-base packages.

For the detailed security status of 389-ds-base please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/389-ds-base

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the 389-ds packages.

See Also

https://security-tracker.debian.org/tracker/source-package/389-ds-base

https://security-tracker.debian.org/tracker/CVE-2021-3514

https://security-tracker.debian.org/tracker/CVE-2021-3652

https://security-tracker.debian.org/tracker/CVE-2021-4091

https://security-tracker.debian.org/tracker/CVE-2022-0918

https://security-tracker.debian.org/tracker/CVE-2022-0996

https://security-tracker.debian.org/tracker/CVE-2022-2850

https://security-tracker.debian.org/tracker/CVE-2024-2199

https://security-tracker.debian.org/tracker/CVE-2024-3657

https://security-tracker.debian.org/tracker/CVE-2024-5953

https://security-tracker.debian.org/tracker/CVE-2024-8445

https://packages.debian.org/source/bullseye/389-ds-base

Plugin Details

Severity: Medium

ID: 214393

File Name: debian_DLA-4021.nasl

Version: 1.1

Type: local

Agent: unix

Published: 1/20/2025

Updated: 1/20/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2021-3652

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

CVSS Score Source: CVE-2022-0996

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:389-ds-base-dev, p-cpe:/a:debian:debian_linux:389-ds-base-libs, p-cpe:/a:debian:debian_linux:python3-lib389, p-cpe:/a:debian:debian_linux:cockpit-389-ds, p-cpe:/a:debian:debian_linux:389-ds-base, p-cpe:/a:debian:debian_linux:389-ds

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/19/2025

Vulnerability Publication Date: 5/28/2021

Reference Information

CVE: CVE-2021-3514, CVE-2021-3652, CVE-2021-4091, CVE-2022-0918, CVE-2022-0996, CVE-2022-2850, CVE-2024-2199, CVE-2024-3657, CVE-2024-5953, CVE-2024-8445