CVE-2022-24802
CRITICAL 9.8CVSS 3.1Prototype Pollution in deepmerge-ts
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.
- Published
- 1 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1321CWE-915
- Also known as
- GHSA-r9w3-g83q-m6hq
- Sources
- NVDJSONOSV GHSA-r9w3-g83q-m6hqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deepmerge-ts_project | deepmerge-tscpe:2.3:a:deepmerge-ts_project:deepmerge-ts:*:*:*:*:*:*:*:* |
< 4.0.2 | 4.0.2 |
| OSV | npm | deepmerge-ts | < 4.0.2 | 4.0.2 |
References
- https://github.com/RebeccaStevens/deepmerge-ts/commit/b39f1a93d9e1c3541bd2fe159fd696a16dbe1c72 · Patch, Third Party Advisory, WEB
- https://github.com/RebeccaStevens/deepmerge-ts/commit/d637db7e4fb2bfb113cb4bc1c85a125936d7081b · Patch, Third Party Advisory, WEB
- https://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-r9w3-g83q-m6hq · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24802 · ADVISORY
- https://github.com/RebeccaStevens/deepmerge-ts · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 Apr 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Apr 2022)