Apache Software Foundation Apache Directory LDAP API
Apache Directory LDAP API: Denial of service via excessive bcrypt cost factor in stored passwords
Asymmetric Resource Consumption vulnerability in Apache Directory LDAP API. Storing a password using the bcrypt algorithm with a high force like 30 in a LDAP server that supports this algorithm will cause the server CPU to run for hours checking the credentials. A bounded cost should be enforced to avoid a server DOS. This issue affects Apache Directory LDAP API: from 2.1.0 before 2.1.9. Users are recommended to upgrade to version 2.1.9, which fixes the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-405
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache Directory LDAP API
- >= 2.1.0, < 2.1.9
Fixed in 2.1.9
Mitigation
Upgrade Apache Directory LDAP API to 2.1.9 or later.
References
- Vendor advisory lists.apache.org/thread.html/39q63m54v9go6xj7pqj7q18…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.