cve.bz

CVE-2021-4091 Double Free

7.5 highEPSS 2.0%Fix available

High (7.5). EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4091 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4091?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4091?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4091 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
port389:389-ds-basebefore 1.3.10.2
redhat:enterprise_linux_desktop7
redhat:enterprise_linux_for_ibm_z_systems7.0
redhat:enterprise_linux_for_power_big_endian7.0
redhat:enterprise_linux_for_power_little_endian7.0
redhat:enterprise_linux_for_scientific_computing7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10389-ds-base1.4.0.21-1+deb10u1DLA-3399-1
Debian11389-ds-base1.4.4.11-2+deb11u1DLA-4021-1
Debian12, 13389-ds-base2.0.15-1DEBIAN-CVE-2021-4091
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 5 more389-ds-baseno fix listedUBUNTU-CVE-2021-4091
Red Hatdirectory_server:11.3::el8389-ds-base, cockpit-389-ds, python3-lib389 and 9 more0:1.4.3.22-4.module+el8dsrv+13893+84b6c18cRHSA-2022:0952
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more389-ds-base, 389-ds-base-libs, 389-ds-base-snmp and 2 more0:1.3.10.2-15.el7_9RHSA-2022:0628
Red Hatenterprise_linux:8::appstream389-ds-base, python3-lib389, 389-ds-base-libs and 8 more0:1.4.3.23-14.module+el8.5.0+14377+c731dc97RHSA-2022:0889
Red Hatrhel_eus:8.4::appstream389-ds-base, python3-lib389, 389-ds-base-libs and 8 more0:1.4.3.16-20.module+el8.4.0+14552+b182c759RHSA-2022:1410
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 more389-ds1.4.2.16~git68.efa843752-150100.7.34.1SUSE-SU-2022:2163-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 more389-ds1.4.3.30~git2.ca761af4b-150200.3.29.1SUSE-SU-2022:2105-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more389-ds1.4.0.31~git15.8b9843b0b-150000.4.27.1SUSE-SU-2022:2109-1
SUSELinux Enterprise Module for Server Applications 15 SP3389-ds1.4.4.19~git38.9951c1101-150300.3.17.1SUSE-SU-2022:2081-1
SUSELinux Enterprise Module for Server Applications 15 SP4389-ds2.0.15~git26.1ea6a6803-150400.3.5.1SUSE-SU-2022:2295-1
openSUSELeap 15.3389-ds1.4.4.19~git38.9951c1101-150300.3.17.1SUSE-SU-2022:2081-1
openSUSELeap 15.4389-ds2.0.15~git26.1ea6a6803-150400.3.5.1SUSE-SU-2022:2295-1
AlmaLinux8389-ds-base, python3-lib389, 389-ds-base-libs and 3 more1.4.3.23-14.module_el8.5.0+2628+c731dc97ALSA-2022:0889
Rocky Linux8389-ds-base0:1.4.3.23-14.module+el8.5.0+745+c5be6847RLSA-2022:0889

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Directory Server 11.3 for RHEL 8redhat-ds:11-8040020220114174559.d9abee45Fixed 2022-03-16RHSA-2022:0952
Red Hat Enterprise Linux 7389-ds-base-0:1.3.10.2-15.el7_9Fixed 2022-02-22RHSA-2022:0628
Red Hat Enterprise Linux 8389-ds:1.4-8050020220302180105.4051e825Fixed 2022-03-15RHSA-2022:0889
Red Hat Enterprise Linux 8.4 Extended Update Support389-ds:1.4-8040020220323173247.96015a92Fixed 2022-04-19RHSA-2022:1410
Red Hat Enterprise Linux 6389-ds-baseNot affected
Red Hat Enterprise Linux 9389-ds-baseNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4091.

References

Check your stackJSON