sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service
Moderate severity
GitHub Reviewed
Published
Apr 18, 2023
in
andialbrecht/sqlparse
•
Updated Oct 28, 2024
Description
Published by the National Vulnerability Database
Apr 18, 2023
Published to the GitHub Advisory Database
Apr 21, 2023
Reviewed
Apr 21, 2023
Last updated
Oct 28, 2024
Impact
The SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). The vulnerability may lead to Denial of Service (DoS).
Patches
This issues has been fixed in sqlparse 0.4.4.
Workarounds
None.
References
This issue was discovered and reported by GHSL team member @erik-krogh (Erik Krogh Kristensen).
References