GHSA-xrmp-99wj-p6jc: Deap Prototype Pollution Vulnerability
HIGHGHSA-xrmp-99wj-p6jc is a HIGH (CVSS 7.3) prototype pollution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Deap libraries in the npm ecosystem. The issue involves prototype pollution in deap. Remediation is available by upgrading affected packages to version 1.0.1.
GHSA-xrmp-99wj-p6jc at a Glance
Security Impact
CVSS: 7.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).
How to Fix GHSA-xrmp-99wj-p6jc
To remediate this vulnerability, upgrade all affected Deap 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 deap@1.0.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls deap
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-xrmp-99wj-p6jc, inspect your project dependencies using npm:
npm ls deap
Analyze the terminal output to locate any version of Deap in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.1), your application is affected.
Note: The npm ls deap 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Deap, 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
GHSA-xrmp-99wj-p6jc Affected Deap Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
deap
|
npm |
< 1.0.1
|
1.0.1
|
References
Frequently Asked Questions
What is GHSA-xrmp-99wj-p6jc?
Which Deap versions are affected?
What version fixes GHSA-xrmp-99wj-p6jc?
Is deap affected?
What is the CVSS score of GHSA-xrmp-99wj-p6jc?
What CWE is associated with GHSA-xrmp-99wj-p6jc?
How can I check npm dependencies for GHSA-xrmp-99wj-p6jc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xrmp-99wj-p6jc",
"modified" : "2021-08-04T21:21:43Z",
"published" : "2019-05-31T23:43:09Z",
"aliases" : [ ],
"summary" : "Prototype Pollution in deap",
"details" : "Versions of `deap` before 1.0.1 are vulnerable to prototype pollution.\n\n\n## Recommendation\n\nUpdate to version 1.0.1 or later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "deap"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://hackerone.com/reports/310446"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/npm:deap:20180415"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/611"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-31T23:42:34Z",
"nvd_published_at" : null
}
}