sqlparse
Affected
- introduced
0.1.15, fixed0.4.4(ecosystem)
Fixed versions
0.4.4
Fix
- Fixed version
0.4.4pip install --upgrade sqlparse==0.4.4
Advisory
Also known as: CVE-2023-30608, PYSEC-2023-87
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 (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).
Medium Basis: The source's own band: MODERATE
0.1.15, fixed 0.4.4 (ecosystem)0.4.4
0.4.4pip install --upgrade sqlparse==0.4.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0