漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
LiquidJS: Uncontrolled Resource Consumption in `join` filter allows template authors to bypass `memoryLimit` and crash the process
Vulnerability Description
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, the join filter in src/filters/array.ts computes complexity from array.length and separator length instead of the total string length produced by array.join(sep). The concat filter can cheaply double arrays of references, after which join materializes the referenced content while charging only for element count, allowing a template to exceed a configured memoryLimit by a large factor. The sibling array_to_sentence_string filter in src/filters/string.ts has the same accounting defect, and a crafted template can allocate toward V8's string or process memory limit and crash the process. This issue is fixed in version 10.27.2.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Vulnerability Title
Yang Jun LiquidJS 资源管理错误漏洞
Vulnerability Description
Yang Jun LiquidJS是美国Yang Jun个人开发者的一款模板引擎。 Yang Jun LiquidJS 10.27.2之前版本存在资源管理错误漏洞,该漏洞源于join过滤器根据数组长度和分隔符长度而非实际生成的字符串长度计算复杂度,且concat过滤器可廉价倍增数组引用,导致模板可超出配置的内存限制;array_to_sentence_string过滤器也存在相同问题,特制模板可能耗尽V8字符串或进程内存限制并导致进程崩溃。
CVSS Information
N/A
Vulnerability Type
N/A