GHSA-77xq-cpvg-7xm2
Prototype pollution in @tsed/core
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @tsed/core | < 5.65.7 | 5.65.7 |
Details
As written in the advisory (Markdown source, shown as plain text).
This affects the package @tsed/core before 5.65.7. This vulnerability relates to the `deepExtend` function which is used as part of the utils directory. Depending on if user input is provided, an attacker can overwrite and pollute the object prototype of a program.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-7748
- https://github.com/TypedProject/tsed/commit/1395773ddac35926cf058fc6da9fb8e82266761b
- https://github.com/TypedProject/tsed/blob/production/packages/core/src/utils/deepExtends.ts%23L36
- https://github.com/tsedio/tsed
- https://snyk.io/vuln/SNYK-JS-TSEDCORE-1019382