CVE-2021-23421: Prototype Pollution in merge-change
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.66305%
CWE
Published
9/1/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
merge-change | npm | <= 1.8.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is explicitly documented in advisories as existing in utils.set
. Analysis of the code shows it handles user-controlled path parameters recursively, creates new object properties dynamically, and lacks prototype pollution safeguards like path validation
or Object.create(null)
usage. The function's structure matches known prototype pollution patterns where attacker-controlled paths can modify prototype properties.