CVE-2019-5447 Path Traversal in http-file-server
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.
| Package | Affected | Fixed in |
|---|---|---|
http-file-server npm | All versions | None |
http-file-server npm | All versions | None |
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.
Other vulnerabilities in http-file-server
Sources
Also known as GHSA-2mp5-m968-gwr2.