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 | * |
| Red Hat OpenStack Platform 17.1 for RHEL 8 | RedHat | python-sqlparse-0:0.4.1-2.el8ost | * |
| Red Hat OpenStack Platform 17.1 for RHEL 9 | RedHat | python-sqlparse-0:0.4.1-2.el9ost | * |
| Red Hat Satellite 6.15 for RHEL 8 | RedHat | python-sqlparse-0:0.5.0-1.el8pc | * |
| Red Hat Satellite 6.15 for RHEL 8 | RedHat | python-sqlparse-0:0.5.0-1.el8pc | * |
| RHUI 4 for RHEL 8 | RedHat | python-sqlparse-0:0.5.0-1.el8ui | * |
| Sqlparse | Ubuntu | devel | * |
| Sqlparse | Ubuntu | jammy | * |
| Sqlparse | Ubuntu | mantic | * |
| Sqlparse | Ubuntu | noble | * |
| Sqlparse | Ubuntu | upstream | * |