Skip to content
Noroxi
CVE-2020-36230· NVD / CVE Program· CNA mitre

A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_elemen

A flaw was discovered in OpenLDAP before 2.4.57 leading in an assertion failure in slapd in the X.509 DN parsing in decode.c ber_next_element, resulting in denial of service.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Jan 26, 2021
Updated
Jun 16, 2026
EPSS
12.3% · 96th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

34

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
4 / 30 · 12.3%

Affected systems

VendorProduct
openldapopenldap
debiandebian linux
applemac os x
applemacos
apachebookkeeper

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache bookkeeper4.12.1
  • apple mac os x10.14.0 and later · before 10.14.6
  • apple mac os x10.14.6
  • apple macos11.1 and later · before 11.4
  • debian debian linux10.0
  • debian debian linux9.0
  • openldap openldapbefore 2.4.57

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.13openldapbefore 2.4.57-r02.4.57-r0
Debian:10openldapbefore 2.4.47+dfsg-3+deb10u52.4.47+dfsg-3+deb10u5
Debian:12openldapbefore 2.4.57+dfsg-12.4.57+dfsg-1
Debian:9openldapbefore 2.4.44+dfsg-5+deb9u72.4.44+dfsg-5+deb9u7
openSUSE:Leap 15.2openldap2before 2.4.46-lp152.14.18.12.4.46-lp152.14.18.1
SUSE:HPE Helion OpenStack 8openldap2before 2.4.41-18.83.12.4.41-18.83.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2openldap2before 2.4.46-9.48.12.4.46-9.48.1
SUSE:Linux Enterprise Module for Legacy 12openldap2before 2.4.41-39.12.4.41-39.1
SUSE:Linux Enterprise Point of Sale 11 SP3openldap2before 2.4.26-0.74.26.12.4.26-0.74.26.1
SUSE:Linux Enterprise Point of Sale 11 SP3openldap2-clientbefore 2.4.26-0.74.26.12.4.26-0.74.26.1
SUSE:Linux Enterprise Server 11-SECURITYopenldap2-client-openssl1before 2.4.26-0.74.26.12.4.26-0.74.26.1

Other highest-scoring records for the same primary product.

  • CVE-2022-29155In OpenLDAP 2.x before 2.5.12 and 2.6.x before 2.6.2, a SQL injection vulnerability exists in the experimental back-sql backend to slapd, vi
    58Plan
  • CVE-2020-36228An integer underflow was discovered in OpenLDAP before 2.4.57 leading to a slapd crash in the Certificate List Exact Assertion processing, r
    55Plan
  • CVE-2020-36221An integer underflow was discovered in OpenLDAP before 2.4.57 leading to slapd crashes in the Certificate Exact Assertion processing, result
    55Plan
  • CVE-2020-36227A flaw was discovered in OpenLDAP before 2.4.57 leading to an infinite loop in slapd with the cancel_extop Cancel operation, resulting in de
    53Plan
  • CVE-2020-36222A flaw was discovered in OpenLDAP before 2.4.57 leading to an assertion failure in slapd in the saslAuthzTo validation, resulting in denial
    53Plan
  • CVE-2006-5779OpenLDAP before 2.3.29 allows remote attackers to cause a denial of service (daemon crash) via LDAP BIND requests with long authcid names, w
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Alpine:openldap2.4.57-r0 · Alpine:v3.13Package registry (OSV)
Debian:openldap2.4.57+dfsg-1 · Debian:12Package registry (OSV)
openSUSE:openldap22.4.46-lp152.14.18.1 · openSUSE:Leap 15.2Package registry (OSV)
SUSE:openldap22.4.41-39.1 · SUSE:Linux Enterprise Module for Legacy 12Package registry (OSV)
SUSE:openldap2-client2.4.26-0.74.26.1 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)
SUSE:openldap2-client-openssl12.4.26-0.74.26.1 · SUSE:Linux Enterprise Server 11-SECURITYPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Weakness class (CWE)

CWE-617 · Reachable Assertion

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records