漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Algorithmic-complexity denial of service in AshPaperTrail full-diff list tracking
Vulnerability Description
Inefficient Algorithmic Complexity vulnerability in ash-project ash_paper_trail allows a user who can submit a large array attribute to a paper-trailed create or update action to cause a denial of service through excessive CPU and memory use.
With full-diff change tracking, AshPaperTrail.ChangeBuilders.FullDiff.ListChange pairs each prior array element against the new list by rebuilding the remaining-elements accumulator with acc ++ [tuple] on every step, copying the growing list each time, so the pairing scales cubically in the array length. Nothing bounds the length and the value comes straight from action input, so one request carrying a large accepted {:array, _} attribute forces tens of seconds of CPU and multi-gigabyte allocations.
This issue affects ash_paper_trail: from 0.1.1 before 0.7.0.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Vulnerability Type
算法复杂性
Vulnerability Title
Ash Framework AshPaperTrail 资源管理错误漏洞
Vulnerability Description
Ash Framework AshPaperTrail是Ash Framework组织开源的一款记录数据变更历史的审计跟踪工具。 Ash Framework AshPaperTrail 0.1.1版本至0.7.0之前版本存在资源管理错误漏洞,该漏洞源于FullDiff变更跟踪中AshPaperTrail.ChangeBuilders.FullDiff.ListChange在配对数组元素时通过累加器重建导致复杂度随数组长度呈立方增长,且未限制数组长度,可能允许用户提交大型数组属性导致CPU和内存过度消耗,造
CVSS Information
N/A
Vulnerability Type
N/A