CVE-2024-2199

389-ds-base: malformed userpassword may cause crash at do_modify in slapd/modify.c

5.7 medium EPSS 0.83%

Published 28 May 2024 Updated 5 Nov 2026 CNA: redhat

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)

5.7 medium CVSS 3.1 from redhat (CNA)
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.

ProductVersions
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-2199

RHEL, Rocky, Alma, Fedora

rpm -q 389-ds-base
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-2199

Alpine

apk list --installed | grep -i 389-ds-base

With 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

Other references

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.