CVEfocus › CVE database › CVE-2021-4091

CVE-2021-4091

EPSS 2.0% (higher than 81% of CVEs)Published 2022-02-18Updated 2025-11-03Assigner: redhat

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.

CWE-415

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
3Fix pending
3Under investigation
3Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2021-4091
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2021-4091
Ubuntu 25.10389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-4091
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2021-4091
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2021-4091
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2021-4091
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2021-4091
Ubuntu 16.04389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-4091
Ubuntu 14.04389-ds-baseWill not fix
Ubuntu decided not to fix this in this release
Debian 13389-ds-baseFixed2.0.15-1DEBIAN-CVE-2021-4091
Debian 12389-ds-baseFixed2.0.15-1DEBIAN-CVE-2021-4091
Red Hat Enterprise Linux 9389-ds-baseNot affected
Red Hat Enterprise Linux 9389-ds-base-develNot affected
Red Hat Enterprise Linux 9389-ds-base-libsNot affected
Red Hat Enterprise Linux 9389-ds-base-snmpNot affected
Red Hat Enterprise Linux 9python3-lib389Not affected
Red Hat Enterprise Linux 8389-ds-baseFixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 8389-ds-base-develFixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsFixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 8389-ds-base-libsFixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 8389-ds-base-snmpFixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 8python3-lib389Fixed0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hat Enterprise Linux 7389-ds-baseFixed0:1.3.10.2-15.el7_9RHSA-2022:0628
Red Hat Enterprise Linux 7389-ds-base-develFixed0:1.3.10.2-15.el7_9RHSA-2022:0628
Red Hat Enterprise Linux 7389-ds-base-libsFixed0:1.3.10.2-15.el7_9RHSA-2022:0628
Red Hat Enterprise Linux 7389-ds-base-snmpFixed0:1.3.10.2-15.el7_9RHSA-2022:0628
Red Hat Enterprise Linux 6389-ds-baseNot affected
Red Hat Enterprise Linux 6389-ds-base-develNot affected
Red Hat Enterprise Linux 6389-ds-base-libsNot affected
AlmaLinux 8389-ds-baseFixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
AlmaLinux 8389-ds-base-develFixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
AlmaLinux 8389-ds-base-legacy-toolsFixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
AlmaLinux 8389-ds-base-libsFixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
AlmaLinux 8389-ds-base-snmpFixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
AlmaLinux 8python3-lib389Fixed1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
Rocky Linux 8389-ds-baseFixed0:1.4.3.23-14.module+el8.5.0+745+c5be6847RLSA-2022:0889

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.