CVE-2024-2199
389-ds-base: malformed userpassword may cause crash at do_modify in slapd/modify.c
Description
A denial of service vulnerability was found in 389-ds-base ldap server. This issue may allow an authenticated user to cause a server crash while modifying `userPassword` using malformed input.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.83%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.7% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 28 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-20 Improper Input Validation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
389-ds-base
package
389-ds-base |
affected before 3.1.1
Other versions: unaffected
|
|
Red Hat Directory Server 11.5 E4S for RHEL 8
package
redhat-ds:11 |
unaffected 8060020250210084424.0ca98e7e and later
Other versions: affected
|
|
Red Hat Directory Server 11.8 for RHEL 8
package
redhat-ds:11 |
unaffected 8090020240606122459.91529cd0 and later
Other versions: affected
|
|
Red Hat Directory Server 11.9 for RHEL 8
package
redhat-ds:11 |
unaffected 8100020240604161237.37ed7c03 and later
Other versions: affected
|
|
Red Hat Directory Server 12.4 for RHEL 9
package
redhat-ds:12 |
unaffected 9040020240604143706.1674d574 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7
package
389-ds-base |
unaffected 0:1.3.11.1-5.el7_9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
389-ds:1.4 |
unaffected 8100020240613122040.25e700aa and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Extended Update Support
package
389-ds:1.4 |
unaffected 8080020240807050952.6dbb3803 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
389-ds-base |
unaffected 0:2.4.5-8.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Extended Update Support
package
389-ds-base |
unaffected 0:2.2.4-9.el9_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
389-ds-base |
unknown the record does not list versions
|
Is my server affected?
Find the installed version of 389-ds-base and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i 389-ds-base
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-2199 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-2199RHEL, Rocky, Alma, Fedora
rpm -q 389-ds-base
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-2199Alpine
apk list --installed | grep -i 389-ds-baseWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2024-2199
trivy image --scanners vuln IMAGE | grep CVE-2024-2199
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- RHSA-2024:3591 access.redhat.com · vendor advisory
- RHSA-2024:3837 access.redhat.com · vendor advisory
- RHSA-2024:4092 access.redhat.com · vendor advisory
- RHSA-2024:4209 access.redhat.com · vendor advisory
- RHSA-2024:4210 access.redhat.com · vendor advisory
- RHSA-2024:4235 access.redhat.com · vendor advisory
- RHSA-2024:4633 access.redhat.com · vendor advisory
- RHSA-2024:5690 access.redhat.com · vendor advisory
- RHSA-2025:1632 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2024-2199 access.redhat.com · vdb entry
- RHBZ#2267976 bugzilla.redhat.com · issue tracking
Other references
- https://www.port389.org/docs/389ds/releases/release-3-1-1.html port389.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00015.html lists.debian.org
Source: the record CVE-2024-2199 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.