GHSA-qcxq-75wr-5cm8: Ldap3 proto Ldap3_proto Has LDAP Filter Stack Vulnerability
HIGHGHSA-qcxq-75wr-5cm8 is a HIGH ldap3_proto has ldap filter stack vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Ldap3 proto libraries in the crates.io ecosystem. The issue involves ldap3_proto has ldap filter stack exhaustion. Remediation is available by upgrading affected packages to version 0.7.1.
GHSA-qcxq-75wr-5cm8 at a Glance
How to Fix GHSA-qcxq-75wr-5cm8
To remediate this vulnerability, upgrade all affected Ldap3 proto dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ldap3_proto to 0.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ldap3_proto
How to Check if You Are Affected
To determine whether your application is affected by GHSA-qcxq-75wr-5cm8, inspect your project dependencies for Ldap3 proto:
inspect dependencies for ldap3_proto
Analyze the terminal output to locate any version of Ldap3 proto in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Ldap3 proto, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-qcxq-75wr-5cm8 Affected Ldap3 proto Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ldap3_proto
|
crates.io |
< 0.7.1
|
0.7.1
|
References
Frequently Asked Questions
What is GHSA-qcxq-75wr-5cm8?
Which Ldap3 proto versions are affected?
What version fixes GHSA-qcxq-75wr-5cm8?
Is ldap3_proto affected?
What CWE is associated with GHSA-qcxq-75wr-5cm8?
How can I check crates.io dependencies for GHSA-qcxq-75wr-5cm8?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qcxq-75wr-5cm8",
"modified" : "2026-08-14T19:22:27Z",
"published" : "2026-05-06T23:39:47Z",
"aliases" : [ ],
"summary" : "ldap3_proto has LDAP Filter stack exhaustion",
"details" : "### Impact\nLDAP 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.\n\n### Workarounds\nN/A\n\n### References\nRelated to GHSA-r5fr-9gmv-jggh",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "ldap3_proto"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/kanidm/ldap3/security/advisories/GHSA-qcxq-75wr-5cm8"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-r5fr-9gmv-jggh"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kanidm/ldap3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674", "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T23:39:47Z",
"nvd_published_at" : null
}
}