GHSA-f6gj-7592-5jxm: Node simple router Path Traversal Vulnerability
HIGHGHSA-f6gj-7592-5jxm is a HIGH path traversal vulnerability (General Security Weakness) affecting Node simple router libraries in the npm ecosystem. The issue involves directory traversal. Remediation is available by upgrading affected packages to version 0.10.1.
GHSA-f6gj-7592-5jxm at a Glance
How to Fix GHSA-f6gj-7592-5jxm
To remediate this vulnerability, upgrade all affected Node simple router 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-simple-router@0.10.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls node-simple-router
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-f6gj-7592-5jxm, inspect your project dependencies using npm:
npm ls node-simple-router
Analyze the terminal output to locate any version of Node simple router in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.1), your application is affected.
Note: The npm ls node-simple-router 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 General Security Weakness. In Node simple router, 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-f6gj-7592-5jxm Affected Node simple router Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
node-simple-router
|
npm |
< 0.10.1
|
0.10.1
|
References
Frequently Asked Questions
What is GHSA-f6gj-7592-5jxm?
Which Node simple router versions are affected?
What version fixes GHSA-f6gj-7592-5jxm?
Is node-simple-router affected?
What CWE is associated with GHSA-f6gj-7592-5jxm?
How can I check npm dependencies for GHSA-f6gj-7592-5jxm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f6gj-7592-5jxm",
"modified" : "2021-02-23T21:33:53Z",
"published" : "2021-02-23T21:33:53Z",
"withdrawn" : "2021-02-23T21:33:53Z",
"aliases" : [ ],
"summary" : "Directory Traversal",
"details" : "Affected versions of node-simple-router package (0.10.0 and before), are vulnerable to a directory traversal issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "node-simple-router"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.10.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sandy98/node-simple-router/commit/dfdd52e2e80607af433097d940b3834fd96df488#diff-b9cfc7f2cdf78a7f4b91a753d10865a2"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-05-29T20:20:42Z",
"nvd_published_at" : null
}
}