Description (CNA)
deepmerge through 4.3.1 contains a prototype poisoning vulnerability in the mergeObject() function that fails to properly validate keys being written to target objects. Attackers can supply malicious source objects in merge operations to inject attacker-controlled properties into the returned object's prototype, causing applications to inherit unintended values when accessing properties without own-property checks.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| TehShrike / deepmerge | affected 0 through 4.3.1 |
CWE
CWE-1321
References
- https://github.com/TehShrike/deepmerge/issues/273
- https://github.com/TehShrike/deepmerge
- https://github.com/TehShrike/deepmerge/blob/5b87756a5671635679001cbac72aa42f23472c81/index.js#L39-L60
- https://www.vulncheck.com/advisories/deepmerge-through-4.3.1-prototype-poisoning-via-mergeobject
ADP enrichment
No English description supplied.