Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. deepmerge-ts
  4. ›
  5. CVE-2022-24802

CVE-2022-24802: Improperly Controlled Modification of Dynamically-Determined Object Attributes

April 1, 2022 (updated April 5, 2022)

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.

References

  • github.com/RebeccaStevens/deepmerge-ts/commit/b39f1a93d9e1c3541bd2fe159fd696a16dbe1c72
  • github.com/RebeccaStevens/deepmerge-ts/commit/d637db7e4fb2bfb113cb4bc1c85a125936d7081b
  • github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-r9w3-g83q-m6hq
  • github.com/advisories/GHSA-r9w3-g83q-m6hq
  • nvd.nist.gov/vuln/detail/CVE-2022-24802

Code Behaviors & Features

Detect and mitigate CVE-2022-24802 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.0.2

Fixed versions

  • 4.0.2

Solution

Upgrade to version 4.0.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

npm/deepmerge-ts/CVE-2022-24802.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.