Skip to main content

Uncontrolled Recursion in sqlparse

Cx89a94f30-7a24

  • sqlparse
Severity High
Score 7.5/10

Summary

In sqlparse versions prior to 0.5.0, passing a heavily nested list to "sqlparse.parse()" leads to a Denial of Service (DOS) attack due to "RecursionError".

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-674 - Uncontrolled Recursion

The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.

Advisory Timeline

  • Published