CVE-2022-42743 deep-parse-json 1.0.2 - Prototype Pollution
An attacker can modify object properties via prototype pollution in the deep-parse-json library due to insufficient key validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-42743?
CVE-2022-42743 is a medium-severity vulnerability in deep-parse-json, 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-parse-json version 1.0.2 allows an external attacker to edit or add new properties to an object. This is possible because the application does not correctly validate the incoming JSON keys, thus allowing the '__proto__' property to be edited.
Weakness: CWE-1321
Which versions are affected by CVE-2022-42743?
2 open source packages ship an affected version, including deep-parse-json. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
deep-parse-json npm | All versions to 1.0.2 | None |
deep-parse-json npm | All versions to 1.0.2 | None |
Products include Deep-Parse-Json Project Deep-Parse-Json.
How do I fix CVE-2022-42743?
No fix has been published for CVE-2022-42743 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-42743 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-42743 exists.
Sources
Also known as GHSA-ff9j-pwxg-q5p2.