CVE-2019-5480 Path Traversal in statichttpserver

Medium 5.3 Published Updated

Attackers can list files in arbitrary folders via path traversal in the statichttpserver npm module.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-5480?

CVE-2019-5480 is a medium-severity path traversal vulnerability in statichttpserver, published on 3 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A path traversal vulnerability in <= v0.9.7 of statichttpserver npm module allows attackers to list files in arbitrary folders.

Weakness: CWE-22

Which versions are affected by CVE-2019-5480?

2 open source packages ship an affected version, including statichttpserver. It affects 1 product.

PackageAffectedFixed in
statichttpserver npmAll versions to 0.9.7None
statichttpserver npmAll versions to 0.9.7None

Products include Statichttpserver Project Statichttpserver.

How do I fix CVE-2019-5480?

No fix has been published for CVE-2019-5480 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-5480 being exploited?

There is no known exploitation of CVE-2019-5480 in the wild and no public exploit code.

Sources

Also known as GHSA-2j5x-56p6-hj6x.

Is CVE-2019-5480 in your software?

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

Check your SBOMs for free