CVE-2019-5447 Path Traversal in http-file-server

Medium 5.3 Published Updated

Attackers can list files in arbitrary folders due to a path traversal flaw in the http-file-server 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-5447?

CVE-2019-5447 is a medium-severity path traversal vulnerability in http-file-server, published on 15 Jul 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.2.6 of http-file-server npm module allows attackers to list files in arbitrary folders.

Weakness: CWE-22

Which versions are affected by CVE-2019-5447?

2 open source packages ship an affected version, including http-file-server. It affects 1 product.

PackageAffectedFixed in
http-file-server npmAll versionsNone
http-file-server npmAll versionsNone

Products include Http-File-Server Project Http-File-Server.

How do I fix CVE-2019-5447?

No fix has been published for CVE-2019-5447 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-5447 being exploited?

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

Sources

Also known as GHSA-2mp5-m968-gwr2.

Is CVE-2019-5447 in your software?

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

Check your SBOMs for free