CVE-2020-7718: Prototype Pollution in gammautils
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.60516%
CWE
Published
5/6/2021
Updated
9/7/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 |
---|---|---|---|
gammautils | npm | <= 0.0.81 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- Both advisory sources (GitHub, NVD, Snyk) explicitly name deepSet and deepMerge as vulnerable entry points.
- The PoC demonstrates pollution through both functions:
- deepSet('proto.polluted2', ...)
- deepMerge() with proto payload
- Prototype pollution typically occurs when:
- Path traversal (deepSet) allows accessing magic properties
- Recursive merges (deepMerge) copy prototype properties
- High confidence due to:
- Multiple authoritative sources concurring
- Clear PoC demonstrating exploitability
- Alignment with known prototype pollution patterns in JS