{"id":"CVE-2022-24802","published":"2022-03-31T23:15:15Z","modified":"2025-04-23T18:42:21Z","title":"Prototype Pollution in deepmerge-ts","vendor":"RebeccaStevens","product":"deepmerge-ts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01678,"percentile":0.77474,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/RebeccaStevens/deepmerge-ts/security/advisories/GHSA-r9w3-g83q-m6hq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RebeccaStevens/deepmerge-ts/commit/b39f1a93d9e1c3541bd2fe159fd696a16dbe1c72","tags":["x_refsource_MISC"]},{"url":"https://github.com/RebeccaStevens/deepmerge-ts/commit/d637db7e4fb2bfb113cb4bc1c85a125936d7081b","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":15.49},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"rebeccastevens","affectedVersions":[{"vendor":"RebeccaStevens","product":"deepmerge-ts","versions":["< 4.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:54:52.521410Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"deepmerge-ts","vulnerableRanges":["<4.0.2"],"patched":["4.0.2"],"from":["GHSA-r9w3-g83q-m6hq"],"provenance":"source"}],"summary":{"text":"A prototype pollution flaw exists in the defaultMergeRecords() function of the deepmerge.ts file in the deepmerge-ts TypeScript library for deep merging JavaScript objects. An unauthenticated remote attacker, with no user interaction, can exploit this flaw under high attack complexity by supplying crafted input that modifies object prototype attributes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:18Z"},"euvd":{"id":"EUVD-2022-1823","exploited":false,"provenance":"source"}}