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
toml-node: Prototype Pollution Leads to `Object.prototype` Corruption via `__proto__` Key-Path Desynchronization
Vulnerability Description
toml-node is a TOML parser for Node.js and the browser. Prior to 4.1.2, toml.parse() in lib/compiler.js can be tricked by a table path such as a.b.y.__proto__.__proto__, allowing traversal from a scalar value into Number.prototype and Object.prototype. The currentPath tracking value uses both arrays and strings, so valueAssignments records a comma-joined path such as a,b.y while deepRef checks the dot-joined path a.b.y, allowing the duplicate-key guard to miss and attacker-controlled keys to be written to Object.prototype. A table-array prefix-clearing path in addTableArray can also erase guard state before the same __proto__ traversal. Injected properties become visible throughout the Node.js process and can cause denial of service, logic or authorization bypass, or code execution when an application contains a suitable gadget. This issue is fixed in version 4.1.2.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Vulnerability Type
CWE-1321
Vulnerability Title
Michelle Tilley TOML Parser for Node.js 输入验证错误漏洞
Vulnerability Description
Michelle Tilley TOML Parser for Node.js是Michelle Tilley个人开发者的一款TOML格式解析器。 Michelle Tilley TOML Parser for Node.js 4.1.2之前版本存在输入验证错误漏洞,该漏洞源于lib/compiler.js中的toml.parse()函数对类似a.b.y.__proto__.__proto__的表路径跟踪和重复键检查处理不当,可导致攻击者控制的属性写入Number.prototype和Object.pro
CVSS Information
N/A
Vulnerability Type
N/A