CVE-2024-38996: Prototype pollution in ag-grid-community via the _.mergeDeep function
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7017%
CWE
Published
7/1/2024
Updated
9/4/2024
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 |
|---|---|---|---|
| ag-grid-enterprise | npm | < 31.3.4 | 31.3.4 |
| ag-grid-community | npm | < 31.3.4 | 31.3.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is explicitly tied to _.mergeDeep in the CVE title and PoC examples. Additional functions (_ModuleSupport.jsonApply, _ModuleSupport.setPath, _Util.jsonApply) are documented in enterprise package Gists as attack vectors. All listed functions handle object merging/path assignment without proper prototype protection, as demonstrated by reproducible PoCs. The AG Grid team's patch (PR #8290) confirms fixes to key handling in merge operations, validating these functions as vulnerable.