CVE-2024-39001 ag-grid packages vulnerable to Prototype Pollution
Prototype pollution in ag-grid-enterprise allows attackers to execute arbitrary code or cause denial of service via property injection.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-39001?
CVE-2024-39001 is a medium-severity code injection vulnerability in n/a, published on 1 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
ag-grid-enterprise v31.3.2 was discovered to contain a prototype pollution via the component _ModuleSupport.jsonApply. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
Weakness: CWE-1321
Which versions are affected by CVE-2024-39001?
12 open source packages ship an affected version, including @ag-grid-enterprise/charts, ag-grid-community and ag-grid-enterprise. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
@ag-grid-enterprise/charts npm | All versions | 31.3.4 |
@ag-grid-enterprise/charts npm | All versions | 31.3.4 |
@ag-grid-enterprise/charts npm | From 32.0.0 | 32.0.1 |
@ag-grid-enterprise/charts npm | From 32.0.0 | 32.0.1 |
ag-grid-community npm | All versions | 31.3.4 |
ag-grid-community npm | All versions | 31.3.4 |
6 more packages
ag-grid-community npm | From 32.0.0 | 32.0.1 |
ag-grid-community npm | From 32.0.0 | 32.0.1 |
ag-grid-enterprise npm | All versions | 31.3.4 |
ag-grid-enterprise npm | All versions | 31.3.4 |
ag-grid-enterprise npm | From 32.0.0 | 32.0.1 |
ag-grid-enterprise npm | From 32.0.0 | 32.0.1 |
Products include Ag-Grid Ag-Grid, Ag-Grid Ag Charts.
How do I fix CVE-2024-39001?
Upgrade @ag-grid-enterprise/charts to a fixed version for your release line: 31.3.4 or 32.0.1.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-39001 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39001 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-328p-362g-r48j.