GHSA-8gr3-2gjw-jj7g: Node ipc Hidden Functionality Vulnerability
LOWGHSA-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
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.
npm install node-ipc@Latest secure release
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
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?
Which Node ipc versions are affected?
What version fixes GHSA-8gr3-2gjw-jj7g?
Is node-ipc affected?
What CWE is associated with GHSA-8gr3-2gjw-jj7g?
How can I check npm dependencies for GHSA-8gr3-2gjw-jj7g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}