# GHSA-m4vv-p6fq-jhqp: Directory Traversal in @vivaxy/here

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-01T19:04:07.000Z
- Modified: 2021-09-23T21:48:53.000Z
- Weaknesses: CWE-22

## Description

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"
```


## Recommendation

Run `npm i @vivaxy/here` to install the latest version that addresses this vulnerability.

(As written by GitHub Advisory Database.)

## Affected

- @vivaxy/here (npm): before 3.2.2

## References

- <https://github.com/vivaxy/here/commit/298dbab41344dfb7f95f66b1fa7b5cfb436bd4a2> (web)
- <https://hackerone.com/reports/296254> (web)
- <https://github.com/vivaxy/here> (package)
- <https://www.npmjs.com/advisories/557> (web)

## Sources

- GitHub Advisory Database: [GHSA-m4vv-p6fq-jhqp](https://github.com/advisories/GHSA-m4vv-p6fq-jhqp), CC-BY-4.0, modified 2021-09-23

---

Page: https://cve.day/GHSA-m4vv-p6fq-jhqp · Whole record: https://cve.day/GHSA-m4vv-p6fq-jhqp.json · Rebuilt by cve.day 2026-11-25T22:56:45.876Z
