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://www.npmjs.com/package/merge-deep
https://securitylab.github.com/advisories/GHSL-2020-160-merge-deep/
https://security.netapp.com/advisory/ntap-20210716-0008/
Related Vulnerabilities
CVE-2022-0235 Vulnerability in npm package node-fetch
CVE-2021-23449 Vulnerability in npm package vm2
CVE-2016-8739 Vulnerability in maven package org.apache.cxf:cxf-rt-rs-extension-providers
CVE-2023-37960 Vulnerability in maven package io.jenkins.plugins:mathworks-polyspace
CVE-2023-25826 Vulnerability in maven package net.opentsdb:opentsdb