CVEfocus › CVE database › CVE-2021-27212

CVE-2021-27212

CVSS 7.5 HighEPSS 66.1% (in the top 1% of all CVEs)Published 2021-02-14Updated 2026-10-14Assigner: mitre

In OpenLDAP through 2.4.57 and 2.5.x through 2.5.1alpha, an assertion failure in slapd can occur in the issuerAndThisUpdateCheck function via a crafted packet, resulting in a denial of service (daemon exit) via a short timestamp. This is related to schema_init.c and checkTime.

What to do

Likely to be exploited: EPSS gives a 66% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Ubuntu: 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
1Fix pending
12Will 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 20.04openldapFixed2.4.49+dfsg-2ubuntu1.7UBUNTU-CVE-2021-27212
Ubuntu 18.04openldapFixed2.4.45+dfsg-1ubuntu1.10UBUNTU-CVE-2021-27212
Ubuntu 16.04openldapFixed2.4.42+dfsg-2ubuntu3.13UBUNTU-CVE-2021-27212
Ubuntu 14.04openldapFix pending2.4.31-1+nmu2ubuntu8.5+esm8 (Ubuntu Pro)UBUNTU-CVE-2021-27212
Debian 14openldapFixed2.4.57+dfsg-2DEBIAN-CVE-2021-27212
Debian 13openldapFixed2.4.57+dfsg-2DEBIAN-CVE-2021-27212
Debian 12openldapFixed2.4.57+dfsg-2DEBIAN-CVE-2021-27212
Red Hat Enterprise Linux 9openldapNot affected
Red Hat Enterprise Linux 9openldap-clientsNot affected
Red Hat Enterprise Linux 9openldap-compatNot affected
Red Hat Enterprise Linux 9openldap-develNot affected
Red Hat Enterprise Linux 8openldapNot affected
Red Hat Enterprise Linux 8openldap-clientsNot affected
Red Hat Enterprise Linux 8openldap-develNot affected
Red Hat Enterprise Linux 8openldap-serversNot affected
Red Hat Enterprise Linux 7compat-openldapWill not fix
Out of support scope
Red Hat Enterprise Linux 7openldapWill not fix
Will not fix
Red Hat Enterprise Linux 7openldap-clientsWill not fix
Will not fix
Red Hat Enterprise Linux 7openldap-develWill not fix
Will not fix
Red Hat Enterprise Linux 7openldap-serversWill not fix
Will not fix
Red Hat Enterprise Linux 7openldap-servers-sqlWill not fix
Will not fix
Red Hat Enterprise Linux 6compat-openldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6openldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6openldap-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6openldap-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6openldap-serversWill not fix
Out of support scope
Red Hat Enterprise Linux 6openldap-servers-sqlWill not fix
Out of support scope
Alpine Linux 3.24openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.23openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.22openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.21openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.20openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.19openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.18openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.17openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.16openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.15openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.14openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.13openldapFixed2.4.57-r1ALPINE-CVE-2021-27212
Alpine Linux 3.12openldapFixed2.4.50-r2ALPINE-CVE-2021-27212

What the vendor says

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

Vendor advisories:

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.