Description
merge-deep-composed through 0.1.4 contains a prototype pollution vulnerability in _mergeDeepOne() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass JSON-parsed input containing __proto__ as a merge source to inject inherited properties, causing logic bypass or denial of service in Node.js processes.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
shanewholloway merge-deep-composed
Default version status: unaffected
0 to ≤ 0.1.4affected
pkg:npm/merge-deep-composedReferences
- https://github.com/shanewholloway/node-merge-deep-composed/security/advisories/GHSA-g838-x865-33cw ↗
- https://github.com/shanewholloway/node-merge-deep-composed/commit/e275db9d369fcecd89c7e134c5f14a52d213a329 ↗
- https://github.com/shanewholloway/node-merge-deep-composed/blob/869c4551b086d5e3ea9402bc7c74603800ad1b88/index.js#L68-L99 ↗
- https://www.vulncheck.com/advisories/merge-deep-composed-through-0.1.4-prototype-pollution-via-mergedeepone ↗