GitHub Advisoryadvisory · npm

GHSA-r9w3-g83q-m6hq Prototype Pollution in deepmerge-ts

HIGH Published 2022-04-01 Modified 2022-04-13 Official page ↗
Aliases
CVE-2022-24802
Ecosystem
npm
Packages
deepmerge-ts
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1321, CWE-915
Reviewed
2022-04-01

Affected packages

• npm deepmerge-ts: < 4.0.2 → fixed in 4.0.2

Description

deepmerge-ts is used to merge 2 or more objects respecting type information. deepmerge-ts is vulnerable to Prototype Pollution via file deepmerge.ts, function defaultMergeRecords(). A fix was released in version 4.0.2. Currently, there is no known workaround.

Related

Alias · CVE (1)

  • CVE-2022-24802 deepmerge-ts is a typescript library providing functionality to deep merging of javascript objects. vulnerability

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness

References