CVE-2022-41713 deep-object-diff 1.1.0 - Prototype Pollution

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
deep-object-diff npmFrom 1.1.61.1.9
deep-object-diff npmFrom 1.1.61.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.

Is CVE-2022-41713 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free