Description
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.
Remediation
References
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
Related Vulnerabilities
CVE-2021-27850 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2020-12668 Vulnerability in maven package com.hubspot.jinjava:jinjava
CVE-2021-43859 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-32643 Vulnerability in maven package org.http4s:http4s-core
CVE-2016-3092 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core