ldap3_proto has LDAP Filter stack exhaustionGHSA-qcxq-75wr-5cm8
GHSA-qcxq-75wr-5cm8 is a security vulnerability in ldap3_proto. A fix is available for ldap3_proto — see the affected versions and patch details below.
Real-World Exposure
ldap3_protoReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
Description
Impact
LDAP queries are not validated for depth, which can cause the parser (both PEG and ASN) to exhaust the stack. This may cause a denial of service in applications that process queries.
Workarounds
N/A
References
Related to GHSA-r5fr-9gmv-jggh
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | ldap3_proto | all versions | 0.7.1cargo update -p ldap3_proto --precise 0.7.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ldap3_proto, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update ldap3_proto to 0.7.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qcxq-75wr-5cm8 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is GHSA-qcxq-75wr-5cm8 in your dependencies?
Find it across crates.io, including transitive dependencies.