CVE-2022-24802 Prototype Pollution in deepmerge-ts
Prototype pollution in deepmerge-ts allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.
- 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-24802?
CVE-2022-24802 is a high-severity vulnerability in RebeccaStevens deepmerge-ts, published on 31 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. deepmerge-ts is vulnerable to Prototype Pollution via file deepmerge.ts, function defaultMergeRecords(). This issue has been patched in version 4.0.2. There are no known workarounds for this issue.
Which versions are affected by CVE-2022-24802?
2 open source packages ship an affected version, including deepmerge-ts. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
deepmerge-ts npm | All versions | 4.0.2 |
deepmerge-ts npm | All versions | 4.0.2 |
Products include Deepmerge-Ts Project Deepmerge-Ts.
How do I fix CVE-2022-24802?
Upgrade deepmerge-ts to 4.0.2 or later.
Is CVE-2022-24802 being exploited?
There is no known exploitation of CVE-2022-24802 in the wild and no public exploit code.
Sources
Also known as GHSA-r9w3-g83q-m6hq.