GHSA-r6rj-9ch6-g264
Prototype pollution in Merge-deep
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | merge-deep | < 3.0.3 | 3.0.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-pollution attacks against applications using this library.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-26707
- https://github.com/jonschlinkert/merge-deep/commit/11e5dd56de8a6aed0b1ed022089dbce6968d82a5
- https://security.netapp.com/advisory/ntap-20210716-0008
- https://securitylab.github.com/advisories/GHSL-2020-160-merge-deep
- https://www.npmjs.com/package/merge-deep