NLTK flaw lets deep dependency chains trigger denial of service
- NLTK
- DependencyGraph
- denial of service
- RecursionError

Uncontrolled recursion triggers errors in deep dependency chains
Users should upgrade to version
3.10.4to address the flaw
NLTK has a denial-of-service vulnerability in DependencyGraph traversal, according to the GitHub Advisory Database. The issue affects versions 3.10.3 and earlier and is fixed in version 3.10.4.
An application that parses an untrusted CoNLL or Malt-TAB dependency structure and then processes it with the tree() or triples() method can encounter an unhandled RecursionError. This can terminate the affected operation or request worker.
The advisory also says get_cycle_path does not track visited nodes and will not terminate if it encounters a cycle. The vulnerability does not affect system confidentiality or integrity.




