Vulnerabilities in pkg:npm/lutils-merge
PACKAGEGHSA-f7qw-5pvg-mmwp is a MODERATE (CVSS 7.3) prototype pollution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Lutils merge libraries in the npm ecosystem. The issue involves prototype pollution in lutils-merge. Remediation is available in the latest vendor maintenance releases.
pkg:npm/lutils-merge
Vulnerability advisories affecting package pkg:npm/lutils-merge. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-f7qw-5pvg-mmwp | - | MODERATE | Prototype Pollution in lutils-merge |
GHSA-f7qw-5pvg-mmwp 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-f7qw-5pvg-mmwp
To remediate this vulnerability, upgrade all affected Lutils merge 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 lutils-merge@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls lutils-merge
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-f7qw-5pvg-mmwp, inspect your project dependencies using npm:
npm ls lutils-merge
Analyze the terminal output to locate any version of Lutils merge 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 lutils-merge 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 Lutils merge, 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-f7qw-5pvg-mmwp Affected Lutils merge Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
lutils-merge
|
npm |
≤ 0.2.6
|
|
References
Frequently Asked Questions
What is GHSA-f7qw-5pvg-mmwp?
Which Lutils merge versions are affected?
What version fixes GHSA-f7qw-5pvg-mmwp?
Is lutils-merge affected?
What is the CVSS score of GHSA-f7qw-5pvg-mmwp?
What CWE is associated with GHSA-f7qw-5pvg-mmwp?
How can I check npm dependencies for GHSA-f7qw-5pvg-mmwp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f7qw-5pvg-mmwp",
"modified" : "2021-08-16T14:36:47Z",
"published" : "2019-06-13T18:58:44Z",
"aliases" : [ ],
"summary" : "Prototype Pollution in lutils-merge",
"details" : "All versions of `lutils-merge` 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\nThe package is deprecated and no fixes are available. Consider using an alternative package.\n",
"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" : "lutils-merge"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.2.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nfour/lutils-merge/issues/1"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/439107"
}, {
"type" : "WEB",
"url" : "https://snyk.io/vuln/SNYK-JS-LUTILSMERGE-174783"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/893"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-13T18:58:27Z",
"nvd_published_at" : null
}
}