Advisory

GHSA-5w8q-x7hc-jhp6

Also known as: CVE-2017-16083

Summary

Directory Traversal in node-simple-router

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-24 19:42 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

node-simple-router

npm · All systems

Affected

  • introduced 0, fixed 0.10.1 (semver)

Fixed versions

0.10.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences