GHSA-8gr3-2gjw-jj7g: Node ipc Hidden Functionality Vulnerability

LOW
CWE-912
Published
Advisory Summary

GHSA-8gr3-2gjw-jj7g is a LOW hidden functionality vulnerability (CWE-912: Hidden Functionality) affecting Node ipc libraries in the npm ecosystem. The issue involves hidden functionality in node-ipc. Remediation is available in the latest vendor maintenance releases.

GHSA-8gr3-2gjw-jj7g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-8gr3-2gjw-jj7g
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-912: Hidden Functionality
Affected Product Node ipc
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-8gr3-2gjw-jj7g

To remediate this vulnerability, upgrade all affected Node ipc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

node-ipc fixed: Latest secure release
npm install node-ipc@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 node-ipc

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-8gr3-2gjw-jj7g, inspect your project dependencies using npm:

npm ls node-ipc

Analyze the terminal output to locate any version of Node ipc 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 node-ipc 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-912: Hidden Functionality, where the product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators. In Node ipc, 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

The package node-ipc version 9.2.2 is vulnerable to hidden functionality that was introduced by the maintainer. The package uses a dependency that writes a file to disk that does not pertain to the functionality of the package and is not included in versions < 9.2.2.

GHSA-8gr3-2gjw-jj7g Affected Node ipc Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
node-ipc
npm
9.2.2
All 1 versions
9.2.2
None specified

References

Frequently Asked Questions

What is GHSA-8gr3-2gjw-jj7g?
GHSA-8gr3-2gjw-jj7g is a security vulnerability in Node ipc involving Hidden functionality in node-ipc under CWE-912: Hidden Functionality.
Which Node ipc versions are affected?
Affected versions include releases prior to current release patches across affected packages: node-ipc.
What version fixes GHSA-8gr3-2gjw-jj7g?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is node-ipc affected?
Yes, node-ipc is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-8gr3-2gjw-jj7g?
GHSA-8gr3-2gjw-jj7g is classified under CWE-912: Hidden Functionality (The product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators.).
How can I check npm dependencies for GHSA-8gr3-2gjw-jj7g?
Run the dependency tree command: 'npm ls node-ipc'. 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-8gr3-2gjw-jj7g",
  "modified" : "2022-03-16T23:54:33Z",
  "published" : "2022-03-16T23:54:33Z",
  "aliases" : [ ],
  "summary" : "Hidden functionality in node-ipc",
  "details" : "The package node-ipc version 9.2.2 is vulnerable to hidden functionality that was introduced by the maintainer. The package uses a dependency that writes a file to disk that does not pertain to the functionality of the package and is not included in versions < 9.2.2.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "node-ipc"
    },
    "versions" : [ "9.2.2" ]
  } ],
  "references" : [ {
    "type" : "PACKAGE",
    "url" : "https://github.com/RIAEvangelist/node-ipc"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/RIAEvangelist/node-ipc/releases/tag/9.2.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-912" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-16T23:54:33Z",
    "nvd_published_at" : null
  }
}