Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTV3OHEteDdoYy1qaHA2
Directory Traversal in node-simple-router
Affected versions of node-simple-router
resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.
Example request:
GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo
Recommendation
Update to v0.10.1 or later.
Permalink: https://github.com/advisories/GHSA-5w8q-x7hc-jhp6JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTV3OHEteDdoYy1qaHA2
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: about 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-5w8q-x7hc-jhp6, CVE-2017-16083
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-16083
- https://github.com/sandy98/node-simple-router/commit/dfdd52e2e80607af433097d940b3834fd96df488
- https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/node-simple-router
- https://github.com/advisories/GHSA-5w8q-x7hc-jhp6
- https://www.npmjs.com/advisories/352
Blast Radius: 13.2
Affected Packages
npm:node-simple-router
Dependent packages: 11Dependent repositories: 58
Downloads: 1,267 last month
Affected Version Ranges: <= 0.10.0
Fixed in: 0.10.1
All affected versions: 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.4.1, 0.4.5, 0.4.7, 0.10.0
All unaffected versions: 0.10.1, 0.10.2