CVE-2021-27212 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service in OpenLDAP slapd by sending a crafted packet with a short timestamp, triggering an assertion failure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-27212?

CVE-2021-27212 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 14 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-617

Which versions are affected by CVE-2021-27212?

1 open source package ship an affected version, including openldap. It affects 2 products.

PackageAffectedFixed in
openldap BitnamiAll versions2.4.58

Products include Debian Debian Linux, Openldap Openldap.

How do I fix CVE-2021-27212?

Upgrade openldap to 2.4.58 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-27212 being exploited?

There is no known exploitation of CVE-2021-27212 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-27212, AZL-6771, BIT-openldap-2021-27212, CLEANSTART-2026-QG21106, CLSA-2021-1637770462, CLSA-2021-1638803748 and 9 more.

Is CVE-2021-27212 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free