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

21 Nov 2024, 08:00

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 5.5
References () https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb - Patch () https://github.com/andialbrecht/sqlparse/commit/c457abd5f097dd13fb21543381e7cfafe7d31cfb - Patch
References () https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - Patch () https://github.com/andialbrecht/sqlparse/commit/e75e35869473832a1eb67772b1adfee2db11b85a - Patch
References () https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - Patch, Vendor Advisory () https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-rrm6-wvj7-cwh2 - Patch, Vendor Advisory
References () https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2023/05/msg00017.html - Mailing List, Third Party Advisory
References () https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - Technical Description () https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS - Technical Description

14 Jun 2023, 18:14

Type Values Removed Values Added
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://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
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
First Time Debian
Debian debian Linux
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

Information

Published : 2023-04-18 22:15

Updated : 2024-11-21 08:00


NVD link : CVE-2023-30608

Mitre link : CVE-2023-30608

CVE.ORG link : CVE-2023-30608


JSON object : View

Products Affected

debian

  • debian_linux

sqlparse_project

  • sqlparse
CWE
CWE-1333

Inefficient Regular Expression Complexity