CVE-2018-3715 Path Traversal in glance
A path traversal vulnerability in the glance Node.js module allows attackers to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-3715?
CVE-2018-3715 is a medium-severity path traversal vulnerability in HackerOne glance node module, published on 7 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
glance node module before 3.0.4 suffers from a Path Traversal vulnerability due to lack of validation of path passed to it, which allows a malicious user to read content of any file with known path.
Weakness: CWE-22
Which versions are affected by CVE-2018-3715?
2 open source packages ship an affected version, including glance. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
glance npm | All versions | 3.0.4 |
glance npm | All versions | 3.0.4 |
Products include Glance Project Glance.
How do I fix CVE-2018-3715?
Upgrade glance to 3.0.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-3715 being exploited?
There is no known exploitation of CVE-2018-3715 in the wild and no public exploit code.
Other vulnerabilities in HackerOne glance node module
Sources
Also known as GHSA-2x4q-6jfv-8h9h.