CVE-2024-38996 Prototype pollution in ag-grid-community via the _.mergeDeep function
Attackers can execute arbitrary code or cause denial of service via prototype pollution in the ag-grid library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38996?
CVE-2024-38996 is a critical code injection vulnerability in n/a, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ag-grid-community v31.3.2 and ag-grid-enterprise v31.3.2 were discovered to contain a prototype pollution via the _.mergeDeep function. 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-38996?
4 open source packages ship an affected version, including ag-grid-community and ag-grid-enterprise. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ag-grid-community npm | All versions | 31.3.4 |
ag-grid-community npm | All versions | 31.3.4 |
ag-grid-enterprise npm | All versions | 31.3.4 |
ag-grid-enterprise npm | All versions | 31.3.4 |
Products include Ag-Grid Ag-Grid.
How do I fix CVE-2024-38996?
Upgrade ag-grid-community to 31.3.4 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-38996 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38996 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-876p-c77m-x2hc.