Vulnerability · Published Mar 31, 2022 · Assigned by GitHub_M

CVE-2022-24802Prototype Pollution in deepmerge-ts

High 8.1

In plain English

A high-severity security flaw in deepmerge-ts from RebeccaStevens. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.7%top 23.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdeepmerge-ts4.0.2GHSA-r9w3-g83q-m6hq

Affected products (as reported)

VendorProductVersions
RebeccaStevens deepmerge-ts < 4.0.2

Weakness: CWE-915 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References