cloudhead/node-static

cloudhead/node-static

Releases19
Frequency5 months 3 weeks
Last Release
Stars2.16K
rfc 2616 compliant HTTP static-file server module, with built-in caching.

CVE History

CVEPublishedCVSS v3CVSS v2
7.5 HIGH

This affects all versions of the package node-static; all versions of the package @nubosoftware/node-static. The package fails to catch an exception when user input includes null bytes. This allows attackers to access http://host/%00 and crash the server.

7.5 HIGH

All versions of the package @nubosoftware/node-static; all versions of the package node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.