Reachable Assertion Affecting openldap package, versions <2.4.57-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.78% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE319-OPENLDAP-6107939
  • published8 Dec 2023
  • disclosed14 Feb 2021

Introduced: 14 Feb 2021

CVE-2021-27212  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade Alpine:3.19 openldap to version 2.4.57-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openldap package and not the openldap package as distributed by Alpine. See How to fix? for Alpine:3.19 relevant fixed versions and status.

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.

CVSS Scores

version 3.1