basic-static@2.0.2 vulnerabilities

Basic static file serving for use with Node's http.createServer

Direct Vulnerabilities

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

basic-static is a Basic static file serving for use with Node's http.createServer.

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?

There is no fixed version for basic-static.

*