CVE-2022-41713 deep-object-diff 1.1.0 - Prototype Pollution
An attacker can modify object properties via prototype pollution in the deep-object-diff library due to insufficient JSON key validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41713?
CVE-2022-41713 is a medium-severity vulnerability in deep-object-diff, published on 3 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
deep-object-diff version 1.1.0 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the '__proto__' property to be edited.
Weakness: CWE-1321
Which versions are affected by CVE-2022-41713?
2 open source packages ship an affected version, including deep-object-diff. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
deep-object-diff npm | From 1.1.6 | 1.1.9 |
deep-object-diff npm | From 1.1.6 | 1.1.9 |
Products include Deep-Object-Diff Project Deep-Object-Diff.
How do I fix CVE-2022-41713?
Upgrade deep-object-diff to 1.1.9 or later.
Is CVE-2022-41713 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41713 exists.
Sources
Also known as GHSA-653v-rqx9-j85p.