CVE-2023-30608 – sqlparse
Package
Manager: pip
Name: sqlparse
Vulnerable Version: >=0.1.15 <0.4.4
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00579 pctl0.67908
Details
sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service ### Impact The SQL parser contains a regular expression that is vulnerable to [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_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)](https://github.com/erik-krogh). - Commit that introduced the vulnerability: e75e35869473832a1eb67772b1adfee2db11b85a
Metadata
Created: 2023-04-21T20:24:21Z
Modified: 2025-02-13T18:54:23Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-rrm6-wvj7-cwh2/GHSA-rrm6-wvj7-cwh2.json
CWE IDs: ["CWE-1333"]
Alternative ID: GHSA-rrm6-wvj7-cwh2
Finding: F211
Auto approve: 1