Sqlparse Project Sqlparse 0.4.0 for Python

CPE Details

Sqlparse Project Sqlparse 0.4.0 for Python
0.4.0
2023-04-25
15h53 +00:00
2023-05-01
11h23 +00:00
Alerte pour un CPE
Stay informed of any changes for a specific CPE.
Notifications manage

CPE Name: cpe:2.3:a:sqlparse_project:sqlparse:0.4.0:*:*:*:*:python:*:*

Informations

Vendor

sqlparse_project

Product

sqlparse

Version

0.4.0

Target Software

python

Related CVE

Open and find in CVE List

CVE ID Published Description Score Severity
CVE-2023-30608 2023-04-18 21h32 +00:00 sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.
7.5
High
CVE-2021-32839 2021-09-20 15h10 +00:00 sqlparse is a non-validating SQL parser module for Python. In sqlparse versions 0.4.0 and 0.4.1 there is a regular Expression Denial of Service in sqlparse vulnerability. The regular expression may cause exponential backtracking on strings containing many repetitions of '\r\n' in SQL comments. Only the formatting feature that removes comments from SQL statements is affected by this regular expression. As a workaround don't use the sqlformat.format function with keyword strip_comments=True or the --strip-comments command line flag when using the sqlformat command line tool. The issues has been fixed in sqlparse 0.4.2.
7.5
High