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: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger
Vulnerability Description
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is fixed in version 0.6.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
算法复杂性
Vulnerability Title
Andi Albrecht sqlparse 资源管理错误漏洞
Vulnerability Description
Andi Albrecht sqlparse是Andi Albrecht个人开发者的一个解析SQL语句的库。 Andi Albrecht sqlparse 0.6.0之前版本存在资源管理错误漏洞,该漏洞源于TokenList构造和字符串转换时反复展平嵌套token子树,可能导致CPU消耗呈二次方增长。
CVSS Information
N/A
Vulnerability Type
N/A