GHSA-f7qw-5pvg-mmwp: Lutils merge Prototype Pollution Vulnerability

MODERATE
CVSS 7.3
CWE-400
Published
Advisory Summary

GHSA-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.

GHSA-f7qw-5pvg-mmwp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-f7qw-5pvg-mmwp
Severity MODERATE
CVSS v3.1 Base Score 7.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Lutils merge
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (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.

lutils-merge fixed: Latest secure release
npm install lutils-merge@Latest secure release
Verify Direct and Transitive Dependencies

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

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. ## Recommendation The package is deprecated and no fixes are available. Consider using an alternative package.

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?
GHSA-f7qw-5pvg-mmwp is a security vulnerability in Lutils merge involving Prototype Pollution in lutils-merge under CWE-400: Uncontrolled Resource Consumption.
Which Lutils merge versions are affected?
Affected versions include releases prior to current release patches across affected packages: lutils-merge.
What version fixes GHSA-f7qw-5pvg-mmwp?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is lutils-merge affected?
Yes, lutils-merge is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of GHSA-f7qw-5pvg-mmwp?
GHSA-f7qw-5pvg-mmwp has a CVSS v3.1 base score of 7.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with GHSA-f7qw-5pvg-mmwp?
GHSA-f7qw-5pvg-mmwp is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check npm dependencies for GHSA-f7qw-5pvg-mmwp?
Run the dependency tree command: 'npm ls lutils-merge'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}