漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Atom-table exhaustion denial-of-service via JSON parse_document in MDEx
Vulnerability Description
Allocation of Resources Without Limits or Throttling vulnerability in leandrocp MDEx allows Excessive Allocation.
MDEx.parse_document/2 accepts a {:json, json} source. In lib/mdex.ex, the private json_to_node/1 function passes the attacker-controlled node_type value to Module.concat/1, which calls String.to_atom/1 and interns a brand-new atom for every distinct value. Atoms are never garbage collected on the BEAM, so a crafted JSON document carrying a unique node_type at each (deeply nested) node mints one permanent atom per node.
A single document can intern hundreds of thousands of atoms, and a large enough document exhausts the default atom table (around 1,048,576 atoms) and aborts the entire Erlang VM, taking down every process on the node. Any application that passes untrusted input to the {:json, ...} source of MDEx.parse_document is exposed to an unauthenticated denial-of-service.
This issue affects mdex from 0.4.3 before 0.13.2.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Vulnerability Type
不加限制或调节的资源分配
Vulnerability Title
leandrocp mdex 资源管理错误漏洞
Vulnerability Description
leandrocp mdex是加拿大leandrocp个人开发者的一个依赖解析工具。 leandrocp mdex 0.4.3版本至0.13.2之前版本存在资源管理错误漏洞,该漏洞源于资源分配无限制或节流,函数json_to_node/1将攻击者控制的node_type值传递给Module.concat/1,调用String.to_atom/1为每个不同的值创建新原子,原子不会被垃圾回收,导致特制JSON文档耗尽原子表(约1,048,576个原子),使整个Erlang虚拟机中止,可能导致未经身份验证的拒绝
CVSS Information
N/A
Vulnerability Type
N/A