Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service)
Vulnerability Description
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
CWE-1333
Vulnerability Title
Andi Albrecht sqlparse 资源管理错误漏洞
Vulnerability Description
Andi Albrecht sqlparse是Andi Albrecht个人开发者的一个解析SQL语句的库。 Andi Albrecht sqlparse 0.6.0之前版本存在资源管理错误漏洞,该漏洞源于SQL_REGEX和逐位置循环重复扫描未匹配的美元引用字面量和多行注释分隔符,导致CPU资源过度消耗。
CVSS Information
N/A
Vulnerability Type
N/A