CVE-2023-46493 Directory Traversal in evershop

Medium 5.3 Published Updated

A remote attacker can obtain sensitive information via a crafted request exploiting a directory traversal flaw in the file browser function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-46493?

CVE-2023-46493 is a medium-severity path traversal vulnerability in n/a, published on 8 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory Traversal vulnerability in EverShop NPM versions before v.1.0.0-rc.8 allows a remote attacker to obtain sensitive information via a crafted request to the readDirSync function in fileBrowser/browser.js.

Weakness: CWE-22

Which versions are affected by CVE-2023-46493?

2 open source packages ship an affected version, including @evershop/evershop. It affects 1 product.

PackageAffectedFixed in
@evershop/evershop npmAll versions1.0.0-rc.8
@evershop/evershop npmAll versions1.0.0-rc.8

Products include Evershop Evershop.

How do I fix CVE-2023-46493?

Upgrade @evershop/evershop to 1.0.0-rc.8 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-46493 being exploited?

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

Sources

Also known as GHSA-4wrm-qmq2-5fjx.

Is CVE-2023-46493 in your software?

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

Check your SBOMs for free