GHSA-qcxq-75wr-5cm8: Ldap3 proto Ldap3_proto Has LDAP Filter Stack Vulnerability

HIGH
CWE-770 CWE-674
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-qcxq-75wr-5cm8
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Ldap3 proto
Package Ecosystem crates.io
Published Date
Last Updated

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.

ldap3_proto fixed: 0.7.1
Upgrade ldap3_proto to 0.7.1
Verify Direct and Transitive Dependencies

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

### 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

GHSA-qcxq-75wr-5cm8 Affected Ldap3 proto Versions

1 component(s)
Fixed Versions:
0.7.1
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?
GHSA-qcxq-75wr-5cm8 is a security vulnerability in Ldap3 proto involving ldap3_proto has LDAP Filter stack exhaustion under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Ldap3 proto versions are affected?
Affected versions include releases prior to 0.7.1 across affected packages: ldap3_proto.
What version fixes GHSA-qcxq-75wr-5cm8?
Upgrading to 0.7.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ldap3_proto affected?
Yes, ldap3_proto is affected in releases prior to 0.7.1. Upgrade your dependency to 0.7.1 or later.
What CWE is associated with GHSA-qcxq-75wr-5cm8?
GHSA-qcxq-75wr-5cm8 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (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.).
How can I check crates.io dependencies for GHSA-qcxq-75wr-5cm8?
Run the dependency tree command: 'inspect dependencies for ldap3_proto'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}