CVE-2024-39001 ag-grid packages vulnerable to Prototype Pollution

Medium 6.3 Published Updated

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.

PackageAffectedFixed in
@ag-grid-enterprise/charts npmAll versions31.3.4
@ag-grid-enterprise/charts npmAll versions31.3.4
@ag-grid-enterprise/charts npmFrom 32.0.032.0.1
@ag-grid-enterprise/charts npmFrom 32.0.032.0.1
ag-grid-community npmAll versions31.3.4
ag-grid-community npmAll versions31.3.4
6 more packages
ag-grid-community npmFrom 32.0.032.0.1
ag-grid-community npmFrom 32.0.032.0.1
ag-grid-enterprise npmAll versions31.3.4
ag-grid-enterprise npmAll versions31.3.4
ag-grid-enterprise npmFrom 32.0.032.0.1
ag-grid-enterprise npmFrom 32.0.032.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.

Sources

Also known as GHSA-328p-362g-r48j.

Is CVE-2024-39001 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free