CVE-2018-16478 Path Traversal in simplehttpserver

Medium 5.3 Published Updated

An attacker can list files outside the web root directory in simplehttpserver, potentially exposing sensitive file structures.

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-2018-16478?

CVE-2018-16478 is a medium-severity path traversal vulnerability in simplehttpserver, published on 4 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Path Traversal in simplehttpserver versions <=0.2.1 allows to list any file in another folder of web root.

Weakness: CWE-22

Which versions are affected by CVE-2018-16478?

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

PackageAffectedFixed in
simplehttpserver npmAll versions to 0.3.0None
simplehttpserver npmAll versions to 0.3.0None

Products include Simplehttpserver Project Simplehttpserver.

How do I fix CVE-2018-16478?

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

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

Sources

Also known as GHSA-vwr2-wj63-86gr.

Is CVE-2018-16478 in your software?

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

Check your SBOMs for free