CVE Vulnerabilities

CVE-2021-4091

Double Free

Published: Feb 18, 2022 | Modified: Nov 03, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
389-ds-basePort389*1.3.10.2 (excluding)
Red Hat Directory Server 11.3 for RHEL 8RedHatredhat-ds:11-8040020220114174559.d9abee45*
Red Hat Enterprise Linux 7RedHat389-ds-base-0:1.3.10.2-15.el7_9*
Red Hat Enterprise Linux 8RedHat389-ds:1.4-8050020220302180105.4051e825*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHat389-ds:1.4-8040020220323173247.96015a92*
389-ds-baseUbuntubionic*
389-ds-baseUbuntufocal*
389-ds-baseUbuntuimpish*
389-ds-baseUbuntukinetic*
389-ds-baseUbuntulunar*
389-ds-baseUbuntumantic*
389-ds-baseUbuntuoracular*
389-ds-baseUbuntuplucky*
389-ds-baseUbuntutrusty*
389-ds-baseUbuntuxenial*

Potential Mitigations

References