CVE-2022-24802 Prototype Pollution in deepmerge-ts

High 8.1 Published Updated

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.

Weakness: CWE-1321, CWE-915

Which versions are affected by CVE-2022-24802?

2 open source packages ship an affected version, including deepmerge-ts. It affects 1 product.

PackageAffectedFixed in
deepmerge-ts npmAll versions4.0.2
deepmerge-ts npmAll versions4.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.

Is CVE-2022-24802 in your software?

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

Check your SBOMs for free