CVE-2023-30608

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:sqlparse_project:sqlparse:*:*:*:*:*:python:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

14 Jun 2023, 18:14

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
References (MISC) https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - Product (MISC) https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - Patch
References (MISC) https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html - (MISC) https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html - Mailing List, Third Party Advisory
References (MISC) https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - Vendor Advisory (MISC) https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - Patch, Vendor Advisory
References (MISC) https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - Not Applicable (MISC) https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - Technical Description

16 May 2023, 14:15

Type Values Removed Values Added
References
  • (MISC) https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html -

28 Apr 2023, 03:50

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References (MISC) https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb - (MISC) https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb - Patch
References (MISC) https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - (MISC) https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - Product
References (MISC) https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - (MISC) https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - Vendor Advisory
References (MISC) https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - (MISC) https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - Not Applicable
CPE cpe:2.3:a:sqlparse_project:sqlparse:*:*:*:*:*:python:*:*

19 Apr 2023, 12:39

Type Values Removed Values Added
New CVE

Information

Published : 2023-04-18 22:15

Updated : 2024-02-04 23:37


NVD link : CVE-2023-30608

Mitre link : CVE-2023-30608

CVE.ORG link : CVE-2023-30608


JSON object : View

Products Affected

sqlparse_project

  • sqlparse

debian

  • debian_linux
CWE
CWE-1333

Inefficient Regular Expression Complexity