CyberRota Analysis
AI-GeneratedThe _copyProps function in the @nevware21/ts-utils library prior to version 0.14.0 is vulnerable due to its use of for...in to iterate over object properties without proper checks, allowing for prototype pollution through dangerous keys like __proto__. This can lead to unexpected behavior and potential security risks across the application. Developers using this library should prioritize upgrading to version 0.14.0 to mitigate these vulnerabilities.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.