CVE-2018-3744 Path Traversal in html-pages

Critical 9.8 Published Updated

An attacker can read arbitrary files from the server using the html-pages Node.js module due to a path traversal vulnerability.

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-3744?

CVE-2018-3744 is a critical path traversal vulnerability in HackerOne html-pages node module, published on 29 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The html-pages node module contains a path traversal vulnerabilities that allows an attacker to read any file from the server with cURL.

Weakness: CWE-22, CWE-35

Which versions are affected by CVE-2018-3744?

2 open source packages ship an affected version, including html-pages. It affects 1 product.

PackageAffectedFixed in
html-pages npmAll versions to 2.1.2None
html-pages npmAll versions to 2.1.2None

Products include Html-Pages Project Html-Pages.

How do I fix CVE-2018-3744?

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

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

Sources

Also known as GHSA-fm87-46vv-jqrr.

Is CVE-2018-3744 in your software?

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

Check your SBOMs for free