Vulnerabilities in pkg:npm/upmerge
PACKAGEGHSA-gm9g-2g8v-fvxj is a MODERATE (CVSS 7.5) prototype pollution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Upmerge libraries in the npm ecosystem. The issue involves prototype pollution in upmerge. Remediation is available in the latest vendor maintenance releases.
pkg:npm/upmerge
Vulnerability advisories affecting package pkg:npm/upmerge. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-gm9g-2g8v-fvxj | - | MODERATE | Prototype Pollution in upmerge |
GHSA-gm9g-2g8v-fvxj at a Glance
Security Impact
CVSS: 7.5
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:N/I:H/A:N).
How to Fix GHSA-gm9g-2g8v-fvxj
To remediate this vulnerability, upgrade all affected Upmerge 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 upmerge@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls upmerge
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-gm9g-2g8v-fvxj, inspect your project dependencies using npm:
npm ls upmerge
Analyze the terminal output to locate any version of Upmerge in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls upmerge 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 Upmerge, 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-gm9g-2g8v-fvxj Affected Upmerge Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
upmerge
|
npm |
≤ 0.1.8
|
|
References
Frequently Asked Questions
What is GHSA-gm9g-2g8v-fvxj?
Which Upmerge versions are affected?
What version fixes GHSA-gm9g-2g8v-fvxj?
Is upmerge affected?
What is the CVSS score of GHSA-gm9g-2g8v-fvxj?
What CWE is associated with GHSA-gm9g-2g8v-fvxj?
How can I check npm dependencies for GHSA-gm9g-2g8v-fvxj?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gm9g-2g8v-fvxj",
"modified" : "2021-09-16T20:59:20Z",
"published" : "2019-06-06T15:32:28Z",
"aliases" : [ ],
"summary" : "Prototype Pollution in upmerge",
"details" : "All versions of `upmerge` are vulnerable to Prototype Pollution. The merge() function fails to prevent user input to alter an Object's prototype, allowing attackers to modify override properties of all objects in the application. This may lead to Denial of Service or may be chained with other vulnerabilities leading to Remote Code Execution.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "upmerge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.1.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://hackerone.com/reports/439120"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jazzfog/UpMerge"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-UPMERGE-174133"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/809"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345", "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-06T10:04:57Z",
"nvd_published_at" : null
}
}