CyberRota Analysis
AI-GeneratedThe deepmerge-ts library in versions prior to 8.0.0 is vulnerable to a denial-of-service condition due to improper handling of self-references in recursive object merges, which can lead to a stack overflow and crash the application. This vulnerability primarily affects applications that merge user-controlled recursive object graphs, potentially causing significant disruptions in service. Developers and organizations utilizing this library should prioritize upgrading to version 8.0.0 or later to mitigate the risk of application crashes.
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
deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. Prior to 8.0.0, the deepmerge, deepmergeCustom, deepmergeInto, and deepmergeIntoCustom APIs do not track visited objects or object pairs when recursively merging records. When two input values contain self-references at the same property path, the merge logic repeatedly revisits the same pair until Node.js raises RangeError: Maximum call stack size exceeded. Applications that merge attacker-controlled recursive object graphs can synchronously crash the affected process or cause repeated worker restarts. Plain JSON input alone cannot create the recursive graph required to trigger the issue. This issue is fixed in version 8.0.0.