node-static and @nubosoftware/node-static vulnerable to Directory Traversal
High severity
GitHub Reviewed
Published
Mar 6, 2023
to the GitHub Advisory Database
•
Updated Mar 13, 2023
Description
Published by the National Vulnerability Database
Mar 6, 2023
Published to the GitHub Advisory Database
Mar 6, 2023
Reviewed
Mar 7, 2023
Last updated
Mar 13, 2023
node-static and the fork @nubosoftware/node-static are vulnerable to Directory Traversal due to improper file path sanitization in the startsWith() method in the servePath function.
References