node-simple-router@0.5.0-3 vulnerabilities

Yet another minimalistic router for node.js

Direct Vulnerabilities

Known vulnerabilities in the node-simple-router package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Directory Traversal

node-simple-router is Yet another minimalistic router for node.js.

Affected versions of the package are vulnerable to Directory Traversal, which may allow access to sensitive files and data on the server. For example, requesting the following url /..%2f..%2fetc/passwd would result in /etc/passwd leak.

Thanks to Liang Gong for disclosing this vulnerability!

How to fix Directory Traversal?

Upgrade node-simple-router to version 0.10.1 or higher.

<0.10.1