UnratednpmAmendedPublished
Directory Traversal in @vivaxy/here
GHSA-m4vv-p6fq-jhqp
- Affected
- npm @vivaxy/here <= 3.2.1
- Fixed in
- 3.2.2· Vendor fix available
- Issue
- The @vivaxy/here module is a small web server that serves files with the process' working directory acting as the web root. It is vulnerable to a directory traversal attack. This means that files on the local file system which exist outside of the web root may be disclosed to an attacker. This might include confidential files. Mitigating Factors: If the node process is run as a user with very limited filesystem permissions, there is significantly less risk of exposing confidential/private information. Proof of Concept: Recommendation Run npm i @vivaxy/here to install the latest version that addresses this vulnerability.
Recommended action: Upgrade to 3.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.