Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

apache/directory-ldap-api
master @ 55ac36d
3
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Broken Cryptography: 1 prior fix. Scrutinize any change in this area.
ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Hardcoded Credentials: SASL authentication binds (CRAM-MD5 and DIGEST-MD5) historically reverted to a hardcoded password string ('secret') instead of forwarding the actual user-supplied credentials parameter, exposing authentication sessions to unauthorized access.
Broken Cryptography: Providing a null hashing algorithm parameter to the password storage utility resulted in the silent storage of unhashed plaintext passwords rather than throwing a validation exception.
Insecure Transport: The client library did not enforce TLS hostname verification on LDAPS connections by default, leaving LDAP connections vulnerable to Man-In-The-Middle (MITM) attacks.