Description (CNA)
Versions of the package ts-deepmerge before 8.0.0 are vulnerable to Uncaught Exception due to the improper handling of built-in Object.prototype methods (such as toString, valueOf). When user-controlled input contains these keys with non-function values, the resulting merged object becomes broken — any string context operation throws a TypeError, crashing the application.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / ts-deepmerge | affected 0 before 8.0.0 |
CWE
CWE-248
References
- https://security.snyk.io/vuln/SNYK-JS-TSDEEPMERGE-17339141
- https://gist.github.com/igorg1312/775fa00114c4d47df6ae0551779ab407
- https://github.com/voodoocreation/ts-deepmerge/commit/305a05831a462fb2c353d3cbbff55a0733286f8c
ADP enrichment
No English description supplied.