servedir@0.0.2 vulnerabilities

Creates a simple web server for a directory

Direct Vulnerabilities

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

servedir creates a simple web server for a directory.

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 servedir to version 1.0.1 or higher.

<1.0.1