CVE-2024-8445
Medium · 5.7CVSS
5.7
EPSS
0.4%
Published
Sep 5, 2024
CISA due date
—
Cloudanix analysis
A logged-in user can accidentally or deliberately make the directory service stop working by sending unusual data when changing a password.
- Exploitation
- Adjacent Network
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Network Service
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authenticated user can trigger a server crash via malformed input when performing an LDAP modify operation on the userPassword attribute due to an incomplete prior fix.
Why it matters to the business
Denial of service leads to temporary unavailability of directory services, disrupting authentication and identity management operations until the server is restarted.
How an attack unfolds
An attacker with valid credentials sends a specially crafted modify request targeting the userPassword field; the server fails to handle the malformed data safely and terminates, repeating the crash on subsequent attempts.
How to fix it
Upgrade 389-ds-base to a version containing the complete fix for the referenced prior issue; monitor vendor advisories for the exact patch release.
How to confirm the fix worked
Confirm the installed package version matches or exceeds the fixed release; test LDAP modify operations with boundary and malformed password values in a non-production environment to verify stability.
Typical attack path
- Obtain valid LDAP credentials
- Connect to the directory server
- Issue a modify operation on userPassword containing malformed input
- Observe server crash and restart cycle
How to detect it
Search directory server logs for repeated crashes or restarts immediately following userPassword modify operations; correlate with authentication events from known accounts.
What your security team should do
- Apply the vendor fix immediately given the public disclosure
- Restrict LDAP modify privileges to the minimum required accounts
- Implement network segmentation and monitoring for anomalous LDAP traffic
- Review logs for repeated server restarts correlated with modify operations
The record
The fix for CVE-2024-2199 in 389-ds-base was insufficient to cover all scenarios. In certain product versions, an authenticated user may cause a server crash while modifying `userPassword` using malformed input.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | 389-ds-base | 0 | No fix |
| Debian:11 | 389-ds-base | 0 | 1.4.4.11-2+deb11u1 |
| Debian:12 | 389-ds-base | 0 | No fix |
| Debian:13 | 389-ds-base | 0 | No fix |
| Red Hat:rhel_els:7 | 389-ds-base | 0 | 0:1.3.11.1-7.el7_9 |
| Red Hat:rhel_els:7 | 389-ds-base-debuginfo | 0 | 0:1.3.11.1-7.el7_9 |
| Red Hat:rhel_els:7 | 389-ds-base-devel | 0 | 0:1.3.11.1-7.el7_9 |
| Red Hat:rhel_els:7 | 389-ds-base-libs | 0 | 0:1.3.11.1-7.el7_9 |
| Red Hat:rhel_els:7 | 389-ds-base-snmp | 0 | 0:1.3.11.1-7.el7_9 |
| 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 | No fix |
| Ubuntu:24.10 | 389-ds-base | 0 | No fix |
| Ubuntu:25.04 | 389-ds-base | 0 | No fix |
| Ubuntu:25.10 | 389-ds-base | 0 | No fix |
| 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 |
Related vulnerabilities
- CVE-2024-6237 A flaw was found in the 389 Directory Server. Also affects 389-ds-base
- 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-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-2022-0996 A vulnerability was found in the 389 Directory Server that allows expired passwords to… 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