NetSight
medium5.5

CVE-2023-30608

sqlparse contains a regular expression that is vulnerable to Regular Expression Denial of Service

Impact

### 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

Affected packages

EcosystemPackageAffectedFixed in
pipsqlparse>= 0.1.15, < 0.4.40.4.4

Affected products

VendorProductAffected versions
Sqlparse ProjectSqlparse
from 0.1.15 before 0.4.4
DebianDebian Linux
Version 10.0

Weakness classification

References