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
Link | Resource |
---|---|
https://github.com/jonschlinkert/merge-deep/commit/11e5dd56de8a6aed0b1ed022089dbce6968d82a5 | Patch Third Party Advisory |
https://www.npmjs.com/package/merge-deep | Product Third Party Advisory |
https://securitylab.github.com/advisories/GHSL-2020-160-merge-deep/ | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210716-0008/ | Third Party Advisory |
Information
Published : 2021-06-02 08:15
Updated : 2022-12-02 11:37
NVD link : CVE-2021-26707
Mitre link : CVE-2021-26707
JSON object : View
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Products Affected
merge-deep_project
- merge-deep
netapp
- e-series_performance_analyzer