漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
@nevware21/ts-utils: Prototype Pollution in objDeepCopy/objCopyProps via for...in without hasOwnProperty
Vulnerability Description
@nevware21/ts-utils is a comprehensive TypeScript/JavaScript utility library. Prior to version 0.14.0, the _copyProps function in lib/src/object/copy.ts uses for...in to iterate over source object properties without an Object.hasOwnProperty check, and does not filter dangerous keys (__proto__, constructor, prototype). This allows an attacker to pollute the prototype chain of all objects in the application. Version 0.14.0 patches the issue.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Vulnerability Type
CWE-1321
Vulnerability Title
NevWare21 Solutions ts-utils 输入验证错误漏洞
Vulnerability Description
NevWare21 Solutions ts-utils是NevWare21 Solutions组织的一款TypeScript工具函数库。 NevWare21 Solutions ts-utils 0.14.0之前版本存在输入验证错误漏洞,该漏洞源于_copyProps函数在迭代源对象属性时未进行Object.hasOwnProperty检查且未过滤危险键(__proto__、constructor、prototype),可能导致攻击者污染应用程序中所有对象的原型链。
CVSS Information
N/A
Vulnerability Type
N/A