CVE-2024-6237
Medium · 6.5CVSS
6.5
EPSS
0.9%
Published
Jul 9, 2024
CISA due date
—
Cloudanix analysis
A bug in the directory server software allows anyone to send a special request that crashes the server, stopping important identity services until restarted.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits an unauthenticated remote attacker to send a specially crafted extended search request that triggers a crash in the 389 Directory Server, resulting in a denial of service.
Why it matters to the business
Successful exploitation leads to unplanned downtime for directory services, potentially disrupting authentication and identity management operations across the organization.
How an attack unfolds
An attacker crafts and sends a specific extended search request to the 389 Directory Server without authentication, causing the server to crash systematically.
How to fix it
Upgrade affected 389 Directory Server packages to the listed fixed versions such as 5.14.16-1 on Debian 12/13 or the corresponding 5.4.0/5.15.0 kernel packages on Ubuntu 20.04 variants.
How to confirm the fix worked
Verify the installed version of the 389 Directory Server package matches or exceeds the fixed versions and test that the server remains stable under crafted search requests.
Typical attack path
- Identify exposed 389 Directory Server instance
- Craft malicious extended search request
- Send request to trigger crash
- Repeat to maintain denial of service
How to detect it
Review server logs for repeated failed or anomalous extended search requests leading to crashes; monitor process termination events related to the directory server.
What your security team should do
- Apply available updates to 389 Directory Server packages immediately
- Monitor for unusual search request patterns
- Implement network access controls to limit exposure
The record
A flaw was found in the 389 Directory Server. This flaw allows an unauthenticated user to cause a systematic server crash while sending a specific extended search request, leading to a denial of service.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:9 | 389-ds-base | 0 | 2.4.5-9.el9_4 |
| AlmaLinux:9 | 389-ds-base-devel | 0 | 2.4.5-9.el9_4 |
| AlmaLinux:9 | 389-ds-base-libs | 0 | 2.4.5-9.el9_4 |
| AlmaLinux:9 | python3-lib389 | 0 | 2.4.5-9.el9_4 |
| Debian:11 | 389-ds-base | 0 | No fix |
| Debian:12 | 389-ds-base | 0 | No fix |
| Debian:13 | 389-ds-base | 0 | 2.4.5+dfsg1-1 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-debuginfo | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-debugsource | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-devel | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-libs | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-libs-debuginfo | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-snmp | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | 389-ds-base-snmp-debuginfo | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | cockpit-389-ds | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:directory_server:12.4::el9 | python3-lib389 | 0 | 0:2.4.5-7.module+el9dsrv+22137+7a1133f7 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-debugsource | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-devel | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-libs | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-libs-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | 389-ds-base-snmp-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::appstream | python3-lib389 | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-debugsource | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-devel | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-libs | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-libs-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | 389-ds-base-snmp-debuginfo | 0 | 0:2.4.5-9.el9_4 |
| Red Hat:enterprise_linux:9::crb | python3-lib389 | 0 | 0:2.4.5-9.el9_4 |
| Rocky Linux:9 | 389-ds-base | 0 | 0:2.4.5-9.el9_4 |
| Ubuntu:20.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:22.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:24.04:LTS | 389-ds-base | 0 | 2.4.5+dfsg1-1 |
| Ubuntu:Pro:16.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | 389-ds-base | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | 389-ds-base | 0 | No fix |
| openSUSE:Tumbleweed | 389-ds | 0 | 3.1.1~git0.aef1668-1.1 |
Related vulnerabilities
- CVE-2024-5953 A denial of service vulnerability was found in the 389-ds-base LDAP server. Also affects 389-ds-base
- CVE-2024-3657 A flaw was found in 389-ds-base. Also affects 389-ds-base
- CVE-2024-2199 A denial of service vulnerability was found in 389-ds-base ldap server. Also affects 389-ds-base
- CVE-2022-0996 A vulnerability was found in the 389 Directory Server that allows expired passwords to… Also affects 389-ds-base
- CVE-2024-8445 The fix for CVE-2024-2199 in 389-ds-base was insufficient to cover all scenarios. Also affects 389-ds-base
- CVE-2024-1062 A heap overflow flaw was found in 389-ds-base. Also affects 389-ds-base
- CVE-2023-1055 A flaw was found in RHDS 11 and RHDS 12. Also affects 389-ds-base
- CVE-2021-4091 A double-free was found in the way 389-ds-base handles virtual attributes context in… Also affects 389-ds-base