CVE-2018-3758 express-cart unrestricted file upload vulnerability

High 8.8 Published Updated

A privileged user can upload malicious files to execute arbitrary code on the hosting machine via the express-cart library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-3758?

CVE-2018-3758 is a high-severity vulnerability in HackerOne express-cart, published on 7 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Unrestricted file upload (RCE) in express-cart module before 1.1.7 allows a privileged user to gain access in the hosting machine.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2018-3758?

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

PackageAffectedFixed in
express-cart npmAll versions1.1.7
express-cart npmAll versions1.1.7

Products include Express-Cart Project Express-Cart.

How do I fix CVE-2018-3758?

Upgrade express-cart to 1.1.7 or later.

Is CVE-2018-3758 being exploited?

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

Sources

Also known as GHSA-4w62-cq5r-5mmq.

Is CVE-2018-3758 in your software?

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

Check your SBOMs for free