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
Sequelize: SQL Injection (Oracle DB)
Vulnerability Description
Sequelize is a Node.js ORM tool. Prior to 6.37.4, SQL injection is possible with strings only if dialect is set to oracle. The escape function defined in sql-string.js does not escape quotes if the value starts with TO_TIMESTAMP or TO_DATE. In the Oracle dialect, when val is a string and starts with TO_TIMESTAMP or TO_DATE, escape returns val directly instead of replacing single quotes. An attacker can inject arbitrary SQL expressions through an application value that reaches this escape path. This issue is fixed in version 6.37.4.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
Sequelize SQL注入漏洞
Vulnerability Description
Sequelize是Sequelize组织的一款Node.js的ORM框架。 Sequelize 6.37.4之前版本存在SQL注入漏洞,该漏洞源于sql-string.js中的escape函数未正确转义以TO_TIMESTAMP或TO_DATE开头的字符串中的引号,可能导致攻击者注入任意SQL表达式。
CVSS Information
N/A
Vulnerability Type
N/A