OSV 1.4.0 · github-reviewed · 修改于 2021-09-24 05:48
发布时间
2020-09-02 03:04
GitHub 审查时间
2020-09-01 02:27
NVD 发布时间
—
源文件
advisories/github-reviewed/2020/09/GHSA-m4vv-p6fq-jhqp/GHSA-m4vv-p6fq-jhqp.json
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:
curl "http://${SERVER_IP}:${SERVER_PORT}/..%2f..%2fetc/passwd"
Run npm i @vivaxy/here to install the latest version that addresses this vulnerability.