Better streaming static file server with Range and conditional-GET support
latest non vulnerable version
10 years ago
latest version published
9 months ago
Known vulnerabilities in the send 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.
Send is a library for streaming files from the file system as an http response. It supports partial responses (Ranges), conditional-GET negotiation, high test coverage, and granular events which may be leveraged to take appropriate actions in your application or framework.
Affected versions of this package are vulnerable to a Root Path Disclosure.
How to fix Root Path Disclosure?
send is a library for streaming files from the file system.
Affected versions of this package are vulnerable to Directory-Traversal attacks due to insecure comparison.
When relying on the root option to restrict file access a malicious user may escape out of the restricted directory and access files in a similarly named directory. For example, a path like
How to fix Directory Traversal?
Upgrade to a version greater than or equal to 0.8.4.