CVE-2020-7713: Prototype Pollution in arr-flatten-unflatten
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.60516%
CWE
Published
5/6/2021
Updated
1/27/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 |
---|---|---|---|
arr-flatten-unflatten | npm | <= 1.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability manifests via the unflatten function as demonstrated in the PoC (node.js code calling unflatten with 'proto[polluted]').
- The GitHub commit diff shows prototype pollution protection added specifically to unflatten.js's object reconstruction logic.
- The CVE description explicitly states 'via the constructor' which aligns with prototype manipulation during object creation in unflatten.
- Snyk's technical analysis confirms the attack vector through the unflatten method's key processing mechanism.