Improper resource allocation In 389-ds-base
Description
A flaw was found in 389-ds-base. The get_ldapmessage_controls_ext() function in the LDAP server does not enforce an upper bound on the number of controls per LDAP message. A remote, unauthenticated attacker can send a specially crafted LDAP request containing hundreds of thousands of minimal controls within the default maximum BER message size (2 MB), causing excessive CPU consumption and heap allocation on the server. Under concurrent exploitation, this leads to significant latency degradation, worker thread starvation, or out-of-memory termination, resulting in a denial of service.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version |
|---|---|---|
debian 13 | ||
debian 11 | ||
debian 12 | ||
rpm rhel9 | - | |
rpm rhel10 | - | |
rpm rhel6 | - | |
rpm rhel7 | - | |
rpm rhel8 | - |
Aliases