CVE-2018-3715 Path Traversal in glance

Medium 6.5 Published Updated

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.

PackageAffectedFixed in
glance npmAll versions3.0.4
glance npmAll versions3.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.

Sources

Also known as GHSA-2x4q-6jfv-8h9h.

Is CVE-2018-3715 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free