tinyserver2@0.5.0 vulnerabilities

Tiny webserver for local content.

Direct Vulnerabilities

Known vulnerabilities in the tinyserver2 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

tinyserver2 is Tiny webserver for local content. 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 tinyserver2 to version 0.6.1 or higher.

<0.6.1