CVE-2024-39001: @ag grid enterprise/charts Ag-grid Packages Vulnerable To Prototype Vulnerability
MODERATECVE-2024-39001 is a MODERATE (CVSS 6.3) ag-grid packages vulnerable to prototype vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting @ag grid enterprise/charts libraries in the npm ecosystem. The issue involves ag-grid packages vulnerable to prototype pollution. Remediation is available by upgrading affected packages to version 32.0.1, 31.3.4.
CVE-2024-39001 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2024-39001
To remediate this vulnerability, upgrade all affected @ag grid enterprise/charts dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @ag-grid-enterprise/charts@32.0.1
npm install ag-grid-community@32.0.1
npm install ag-grid-enterprise@32.0.1
npm install @ag-grid-enterprise/charts@31.3.4
npm install ag-grid-community@31.3.4
npm install ag-grid-enterprise@31.3.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @ag-grid-enterprise/charts
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-39001, inspect your project dependencies using npm:
npm ls @ag-grid-enterprise/charts
Analyze the terminal output to locate any version of @ag grid enterprise/charts in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 32.0.1), your application is affected.
Note: The npm ls @ag-grid-enterprise/charts command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In @ag grid enterprise/charts, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-39001 Affected @ag grid enterprise/charts Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@ag-grid-enterprise/charts
|
npm |
≥ 32.0.0
< 32.0.1
All 1 versions
32.0.0
|
32.0.1
|
|
ag-grid-community
|
npm |
≥ 32.0.0
< 32.0.1
All 1 versions
32.0.0
|
32.0.1
|
|
ag-grid-enterprise
|
npm |
≥ 32.0.0
< 32.0.1
All 1 versions
32.0.0
|
32.0.1
|
|
@ag-grid-enterprise/charts
|
npm |
< 31.3.4
|
31.3.4
|
|
ag-grid-community
|
npm |
< 31.3.4
|
31.3.4
|
|
ag-grid-enterprise
|
npm |
< 31.3.4
|
31.3.4
|
References
Frequently Asked Questions
What is CVE-2024-39001?
Which @ag grid enterprise/charts versions are affected?
What version fixes CVE-2024-39001?
Is @ag-grid-enterprise/charts affected?
Is ag-grid-community affected?
What is the CVSS score of CVE-2024-39001?
What CWE is associated with CVE-2024-39001?
How can I check npm dependencies for CVE-2024-39001?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-328p-362g-r48j",
"modified" : "2024-08-26T13:51:18Z",
"published" : "2024-07-01T15:32:20Z",
"aliases" : [ "CVE-2024-39001" ],
"summary" : "ag-grid packages vulnerable to Prototype Pollution",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@ag-grid-enterprise/charts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "32.0.0"
}, {
"fixed" : "32.0.1"
} ]
} ],
"versions" : [ "32.0.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "ag-grid-community"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "32.0.0"
}, {
"fixed" : "32.0.1"
} ]
} ],
"versions" : [ "32.0.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "ag-grid-enterprise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "32.0.0"
}, {
"fixed" : "32.0.1"
} ]
} ],
"versions" : [ "32.0.0" ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@ag-grid-enterprise/charts"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "31.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "ag-grid-community"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "31.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "ag-grid-enterprise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "31.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-39001"
}, {
"type" : "WEB",
"url" : "https://github.com/ag-grid/ag-grid/issues/8261"
}, {
"type" : "WEB",
"url" : "https://github.com/ag-grid/ag-grid/commit/78fb47f6c996f22c0b7184afb29620ab8c240522"
}, {
"type" : "WEB",
"url" : "https://github.com/ag-grid/ag-grid/commit/ff731699453f2632d4852b3a3c34b479c406068c"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mestrtee/18e8c27f3a6376e7cf082cfe1ca766fa"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mestrtee/c1590660750744f25e86ba1bf240844b"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mestrtee/f8037d492dab0d77bca719e05d31c08b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ag-grid/ag-grid"
}, {
"type" : "WEB",
"url" : "https://www.ag-grid.com/changelog/?fixVersion=31.3.4"
}, {
"type" : "WEB",
"url" : "https://www.ag-grid.com/changelog/?fixVersion=32.0.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1321" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-12T14:00:45Z",
"nvd_published_at" : "2024-07-01T13:15:05Z"
}
}