Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Red Hat Ansible Automation Platform 2.4 for RHEL 8 | RedHat | python3x-sqlparse-0:0.5.0-1.el8ap | * |
Red Hat Ansible Automation Platform 2.4 for RHEL 9 | RedHat | python-sqlparse-0:0.5.0-1.el9ap | * |
Sqlparse | Ubuntu | devel | * |
Sqlparse | Ubuntu | jammy | * |
Sqlparse | Ubuntu | mantic | * |
Sqlparse | Ubuntu | noble | * |
Sqlparse | Ubuntu | upstream | * |