GHSA-8h8v-6qqm-fwpq Path Traversal in express-cart
An attacker can exploit a path traversal vulnerability in the express-cart library to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-8h8v-6qqm-fwpq?
GHSA-8h8v-6qqm-fwpq is a path traversal vulnerability in express-cart, published on 1 Sep 2020. It can be exploited over the network.
Official description
Versions of express-cart before 1.1.7 are vulnerable to Path Traversal.
Recommendation
Update to version 1.1.7 or later.
Which versions are affected by GHSA-8h8v-6qqm-fwpq?
2 open source packages ship an affected version, including express-cart.
| Package | Affected | Fixed in |
|---|---|---|
express-cart npm | All versions | 1.1.7 |
express-cart npm | All versions | 1.1.7 |
How do I fix GHSA-8h8v-6qqm-fwpq?
Upgrade express-cart to 1.1.7 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-8h8v-6qqm-fwpq being exploited?
There is no known exploitation of GHSA-8h8v-6qqm-fwpq in the wild and no public exploit code.