pico-static-server@3.0.0 vulnerabilities

Small yet fully functional Node.js static files server with zero dependencies with HTTPS support

Direct Vulnerabilities

Known vulnerabilities in the pico-static-server 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

pico-static-server is a Small yet fully functional Node.js static files server with zero dependencies written with ES6.

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.

How to fix Directory Traversal?

Upgrade pico-static-server to version 3.0.2 or higher.

<3.0.2