Skip to content
Fencer Intel
high 7.5

CVE-2021-4091 json

A double-free was found in the way 389-ds-base handles virtual attributes context in persistent searches.

published 4y ago modified 4mo ago also EUVD-2021-33978

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 81%
public exploits
0
none known

Summary

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.

Patch / fix

  • port389 389-ds-base 1.3.10.2
  • 389-ds-base Debian 13, Debian 12 2.0.15-1

debian advisories DEBIAN-CVE-2021-4091

  • 389-ds-base directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • cockpit-389-ds directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • python3-lib389 directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • 389-ds-base-libs directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • 389-ds-base-snmp directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • 389-ds-base-legacy-tools directory server 11.3 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
  • 389-ds-base RHEL 8 1.4.3.23-14.module+el8.5.0+14377+c731dc97
  • python3-lib389 RHEL 8 1.4.3.23-14.module+el8.5.0+14377+c731dc97

red hat advisories RHSA-2022:1410RHSA-2022:0952RHSA-2022:0889RHSA-2022:0628

  • 389-ds SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 2.0.15~git26.1ea6a6803-150400.3.5.1
  • 389-ds SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 1.4.2.16~git68.efa843752-150100.7.34.1
  • 389-ds SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 1.4.0.31~git15.8b9843b0b-150000.4.27.1
  • 389-ds SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 1.4.3.30~git2.ca761af4b-150200.3.29.1
  • 389-ds SLE Module for Server Applications 15 SP3, openSUSE Leap 15.3 1.4.4.19~git38.9951c1101-150300.3.17.1

suse advisories SUSE-SU-2022:2295-1SUSE-SU-2022:2163-1SUSE-SU-2022:2109-1SUSE-SU-2022:2105-1SUSE-SU-2022:2081-1

  • 389-ds-base AlmaLinux 8 1.4.3.23-14.module_el8.5.0+2628+c731dc97
  • python3-lib389 AlmaLinux 8 1.4.3.23-14.module_el8.5.0+2628+c731dc97
  • 389-ds-base-libs AlmaLinux 8 1.4.3.23-14.module_el8.5.0+2628+c731dc97
  • 389-ds-base-snmp AlmaLinux 8 1.4.3.23-14.module_el8.5.0+2628+c731dc97
  • 389-ds-base-legacy-tools AlmaLinux 8 1.4.3.23-14.module_el8.5.0+2628+c731dc97

almalinux advisories ALSA-2022:0889

  • 389-ds-base Rocky Linux 8 1.4.3.23-14.module+el8.5.0+745+c5be6847

rocky linux advisories RLSA-2022:0889

Is CVE-2021-4091 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-4091 updated cvss 7.5

389-ds-base: double free of the virtual attribute context in persistent search

  • Red Hat Directory Server 11.3 for RHEL 8 389-ds-base 1.4.3.22-4.module+el8dsrv+13893+84b6c18c, cockpit-389-ds 1.4.3.22-4.module+el8dsrv+13893+84b6c18c, python3-lib389 1.4.3.22-4.module+el8dsrv+13893+84b6c18c, 389-ds-base-libs 1.4.3.22-4.module+el8dsrv+13893+84b6c18c, 389-ds-base-snmp 1.4.3.22-4.module+el8dsrv+13893+84b6c18c, 389-ds-base-legacy-tools 1.4.3.22-4.module+el8dsrv+13893+84b6c18c
    fixed: vendor fix RHSA-2022:0952
  • Red Hat Enterprise Linux AppStream (v. 8) 389-ds-base 1.4.3.23-14.module+el8.5.0+14377+c731dc97, python3-lib389 1.4.3.23-14.module+el8.5.0+14377+c731dc97, 389-ds-base-libs 1.4.3.23-14.module+el8.5.0+14377+c731dc97, 389-ds-base-snmp 1.4.3.23-14.module+el8.5.0+14377+c731dc97, 389-ds-base-legacy-tools 1.4.3.23-14.module+el8.5.0+14377+c731dc97
    fixed: vendor fix RHSA-2022:0889
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) 389-ds-base 1.4.3.16-20.module+el8.4.0+14552+b182c759, python3-lib389 1.4.3.16-20.module+el8.4.0+14552+b182c759, 389-ds-base-libs 1.4.3.16-20.module+el8.4.0+14552+b182c759, 389-ds-base-snmp 1.4.3.16-20.module+el8.4.0+14552+b182c759, 389-ds-base-legacy-tools 1.4.3.16-20.module+el8.4.0+14552+b182c759
    fixed: vendor fix RHSA-2022:1410
  • Red Hat Enterprise Linux Client Optional (v. 7) 389-ds-base 1.3.10.2-15.el7_9, 389-ds-base-libs 1.3.10.2-15.el7_9, 389-ds-base-snmp 1.3.10.2-15.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) 389-ds-base 1.3.10.2-15.el7_9, 389-ds-base-libs 1.3.10.2-15.el7_9, 389-ds-base-snmp 1.3.10.2-15.el7_9 Red Hat Enterprise Linux Server (v. 7) 389-ds-base 1.3.10.2-15.el7_9, 389-ds-base-libs 1.3.10.2-15.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) 389-ds-base 1.3.10.2-15.el7_9, 389-ds-base-libs 1.3.10.2-15.el7_9, 389-ds-base-snmp 1.3.10.2-15.el7_9 Red Hat Enterprise Linux Workstation (v. 7) 389-ds-base 1.3.10.2-15.el7_9, 389-ds-base-libs 1.3.10.2-15.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) 389-ds-base-snmp 1.3.10.2-15.el7_9
    fixed: vendor fix RHSA-2022:0628
  • Red Hat Enterprise Linux 6 389-ds-base, 389-ds-base-libs Red Hat Enterprise Linux 9 389-ds-base, python3-lib389, 389-ds-base-libs, 389-ds-base-snmp
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.01% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected products

  • n/a 389-ds-base

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.