Cloudanix VulnDB

CVE-2023-2953

High · 7.5

CVSS

7.5

EPSS

2.0%

Published

May 30, 2023

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in widely used directory software lets remote attackers crash the service, interrupting logins and lookups until it restarts.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Null pointer dereference in ber_memalloc_x() causes the OpenLDAP server process to crash, resulting in denial of service.

Why it matters to the business

Interruption of directory, authentication, and lookup services across many enterprise and infrastructure products, leading to operational downtime.

How an attack unfolds

An unauthenticated attacker sends a crafted network request that reaches the vulnerable ber_memalloc_x call path, triggering the dereference and immediate process termination.

How to fix it

Upgrade OpenLDAP and all affected products (Red Hat Enterprise Linux, Apple macOS, NetApp ONTAP and related tools) to patched releases as they become available from each vendor; apply vendor-specific fixes promptly.

How to confirm the fix worked

Confirm updated package versions are installed, review changelogs for the ber_memalloc_x fix, and perform controlled availability tests with known triggering inputs.

Typical attack path

  1. Identify exposed OpenLDAP or dependent service
  2. Send crafted LDAP protocol message over the network
  3. Trigger null pointer dereference in ber_memalloc_x
  4. Server process crashes, denying service to legitimate users

How to detect it

Search OpenLDAP and system logs for segmentation faults, crashes, or stack traces referencing ber_memalloc_x; correlate with sudden service restarts or availability alerts.

  • ber_memalloc_x
  • null pointer dereference
  • ldap server segmentation fault
  • slapd crash

What your security team should do

  • Prioritize patching OpenLDAP instances and downstream products due to broad ecosystem exposure
  • Restrict unauthenticated network access to LDAP ports where feasible
  • Enable process monitoring and automatic restart for directory services
  • Track vendor advisories for fixed versions across listed products

The record

A vulnerability was found in openldap. This security flaw causes a null pointer dereference in ber_memalloc_x() function.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 openldap 0 2.4.46-19.el8_10
AlmaLinux:8 openldap-clients 0 2.4.46-19.el8_10
AlmaLinux:8 openldap-devel 0 2.4.46-19.el8_10
AlmaLinux:8 openldap-servers 0 2.4.46-19.el8_10
Bitnami openldap 2.4.0 No fix
Bitnami openldap 2.4.0 2.4.1
Debian:11 openldap 0 No fix
Debian:12 openldap 0 No fix
Debian:13 openldap 0 2.5.16+dfsg-1
Mageia:8 openldap 0 2.4.57-1.3.mga8
Red Hat:enterprise_linux:8::baseos openldap 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-clients 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-clients-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-debugsource 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-devel 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-servers 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::baseos openldap-servers-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-clients 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-clients-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-debugsource 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-devel 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-servers 0 0:2.4.46-19.el8_10
Red Hat:enterprise_linux:8::crb openldap-servers-debuginfo 0 0:2.4.46-19.el8_10
Red Hat:rhel_eus:8.8::baseos openldap 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-clients 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-clients-debuginfo 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-debuginfo 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-debugsource 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-devel 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-servers 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::baseos openldap-servers-debuginfo 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-clients 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-clients-debuginfo 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-debuginfo 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-debugsource 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-devel 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-servers 0 0:2.4.46-20.el8_8
Red Hat:rhel_eus:8.8::crb openldap-servers-debuginfo 0 0:2.4.46-20.el8_8
SUSE:Linux Enterprise Micro 5.1 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Micro 5.2 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Micro 5.3 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Micro 5.4 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Module for Basesystem 15 SP5 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Module for Development Tools 15 SP4 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Module for Development Tools 15 SP5 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Module for Legacy 12 openldap2 0 2.4.41-45.1
SUSE:Linux Enterprise Real Time 15 SP3 openldap2 0 2.4.46-150200.14.14.1
SUSE:Linux Enterprise Server 12 SP5 openldap2 0 2.4.41-22.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 openldap2 0 2.4.41-45.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 openldap2 0 2.4.41-22.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 openldap2 0 2.4.41-45.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 openldap2 0 2.4.41-22.19.1
Ubuntu:20.04:LTS openldap 0 2.4.49+dfsg-2ubuntu1.10
Ubuntu:22.04:LTS openldap 0 2.5.16+dfsg-0ubuntu0.22.04.2
Ubuntu:Pro:14.04:LTS openldap 0 2.4.31-1+nmu2ubuntu8.5+esm6
Ubuntu:Pro:16.04:LTS openldap 0 2.4.42+dfsg-2ubuntu3.13+esm2
Ubuntu:Pro:18.04:LTS openldap 0 2.4.45+dfsg-1ubuntu1.11+esm1
openSUSE:Leap 15.4 openldap2 0 2.4.46-150200.14.14.1
openSUSE:Leap 15.5 openldap2 0 2.4.46-150200.14.14.1
openSUSE:Leap Micro 5.3 openldap2 0 2.4.46-150200.14.14.1

Related vulnerabilities