CVE-2018-3766 Path Traversal in buttle

High 7.5 Published Updated

An attacker can read arbitrary files on the server via path traversal in the buttle module, exposing sensitive data.

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

CVE-2018-3766 is a high-severity path traversal vulnerability in https://github.com/jtrussell buttle, published on 5 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Path traversal in buttle module versions <= 0.2.0 allows to read any file in the server.

Weakness: CWE-22

Which versions are affected by CVE-2018-3766?

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

PackageAffectedFixed in
buttle npmAll versions to 0.2.0None
buttle npmAll versions to 0.2.0None

Products include Buttle Project Buttle.

How do I fix CVE-2018-3766?

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

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

Sources

Also known as GHSA-m8cr-q935-8j67.

Is CVE-2018-3766 in your software?

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

Check your SBOMs for free